6
6
666Wolf6662015-10-28 13:44:00
WordPress
666Wolf666, 2015-10-28 13:44:00

How to create two product display templates in woocommerce?

I have several categories of goods: medical clothing for men and women, badges, shoes. All these product cards should be displayed according to their template. That is:
1. On each product page of the "Women's clothing" category, a table of female figure sizes should be displayed.
2. On the product page of the "Men's clothing" category, a Table of sizes for a male figure should be displayed.
3. On the "shoes" product page, a dimensional grid should be displayed (it is desirable for each brand to have its own).
4. On each page of the "Badge" product, a link to creating a layout should be displayed.
Manually added size tables using shortcodes. But this is a routine work, and when something changes, you will have to edit each product separately. How to create woocommerce templates so that everything that is the same is displayed constantly and, if necessary, edit only one file.
I tried WP Custom Post Template, but nothing works... Help, I will be very grateful....
Website link: medshvetsmarka.com.ua

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
alfik197, 2015-10-28
@alfik197

just create a file in the folder of the theme page, for example women-page.php, there you already write your code, with verts, and output posts of a certain category

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question