Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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

Is it possible and how to do it?

Thanks,

share|improve this question

1 Answer 1

up vote 1 down vote accepted

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

For more information visit this page.

share|improve this answer
1  
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 –  Atthapon Junpun-eak Apr 11 '13 at 5:06

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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