Woocommerce Product Category Template for Specific Category
-
I am building a store using the Woocommerce plugin.
I need to set up a template for a specific category, let’s call it ‘awesome’, so that it displays all products in a way that is different from the other product categories. All other product categories will follow the default template.
The url structure at the product category page ends up being ‘urladdress.com/product_category/awesome/’.
I have tried to create a file called
taxonomy-product_cat-awesome.php
(an altered copy oftaxonomy-product_cat.php
) and placed inthemename/woocommerce/taxonomy-product_cat-awesome.php
, but it has no effect on the layout of the page.My questions are:
Am I correct in trying to use the
taxonomy-product_cat
template in this case, or should I be looking at another template?If I am correct, any thoughts on why it won’t work? Or have suggestions for work arounds?
- The topic ‘Woocommerce Product Category Template for Specific Category’ is closed to new replies.