WordPress get_terms() function not display custom taxonomy categories for woocommerce

The following code I wrote is supposed to show all the product categories of a wordpress ecommerce website. I’m using it inside a woocommerce hook that is responsible to render the contents before the main shop page, the woocommerce_before_main_content. I’m not able to get the categories, I will see only one category and the others … Read more

WooCommerce action hooks and overriding templates

First in reference below you will find how to override properly woocommerce templates via a theme (avoiding editing the plugin templates). In your first code snippet, as you can see for woocommerce_single_product_summary hook, you have in order all the different templates that are @hooked in this hook location with do_action() WordPress function: So in your … Read more