N
N
neytan2018-07-15 18:53:59
WooCommerce
neytan, 2018-07-15 18:53:59

How to reassign the product categories page in woocommece so that it can be edited?

Good afternoon. I'm making a website using woocommerce, how can I reassign the product categories page for editing? I read that for this you need to create a woocommerce folder in the folder and transfer / create an archive-product.php file in it, which you can edit for yourself. I did so, but there are no results, and even if you edit this file in the plugin itself, nothing happens. Even if you remove all the code from it, the products in the category are displayed as they are. Apparently the developers have changed something in the plugin.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Orkhan Hasanli, 2018-07-15
@neytan

Hello!
The archive-product.php file also has a get_template_part "content-product" that outputs the product cycle. And it may also be that this template will not work if you added add_theme_support woocommerce in the custom theme and, accordingly, use the woocommerce.php template at the theme level, and not at the level of the copied woocommerce templates

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question