My problem is the following: I need to have different single-product templates. One template per category. Ai, If i select a product in the catergory ‘cat1’, i would use a certain template to display the product page, ‘cat2’ would give another template …
I tried, without any success, to use the taxonomy-product_cat-[slug].php method but either I do not do it correctly, either it is not the correct way to achieve this.
I have some notions of CSS, PHP and HTML but I would greatly appreciate a step-by-step instruction on how to achieve this. I cannot achieve my e-commerce without this functionality.
Thanks a lot in advance for any answer.
- The topic ‘Custom single-product page for products per categories’ is closed to new replies.