14

I'd like to create a specific template for specific category (not for single product).

Is it possible and how to do it?

Thanks,

1 Answer 1

15

You can create specific template for specific category using taxonomy-product_cat.php template.

For more information visit this page.

3
  • 10
    Thanks for fast response I've also found the answer as you mentioned. Let me describe for more detail. We can override it by creating our own template with the format taxonomy-product_cat-{slug}.php e.g. if our category is named 'abc product', go to check the url we'll see it display as abc-product. Then our template should be named as taxonomy-product_cat-abc-product.php Commented Apr 11, 2013 at 5:06
  • 1
    I had the same problem and after searching hard I found this plugin. Hope it can help. magnigenie.com/product/wordpress-custom-taxonomy-category-pages
    – Nirmal Ram
    Commented Nov 26, 2015 at 8:24
  • \wp-content\plugins\woocommerce\templates\taxonomy-product_cat.php copy into \wp-content\themes\MYTHEME\woocommerce\taxonomy-product_cat.php
    – Jon
    Commented Jan 19, 2020 at 12:02

Not the answer you're looking for? Browse other questions tagged or ask your own question.