Ready to get started?Download WordPress


WooCommerce - excelling eCommerce
Custom single-product page for products per categories (1 post)

  1. lolo_350
    Posted 1 year ago #


    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.


Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic