Answer the question
In order to leave comments, you need to log in
How to display subcategories in woocommerce so that there is nothing superfluous in the category?
Hello everyone, dear experts!
Tell me how to display subcategories in woocommerce so that there is nothing superfluous in the category?
The problem is that if I add a category, add a subcategory to it, and insert a product into the subcategory, I would like to see: in the category -> subcategories->products...
But in fact, the picture is different! Doesn't matter! Whether I made a subcategory or not, the product is displayed in the category.
Is it possible to write something in the code so that everything would work?
If possible, explain in as much detail as possible what and where to write ...
Thank you.
As a result, I would like to see the following display logic:
Answer the question
In order to leave comments, you need to log in
To get started, play around with the generic product category template option. There you can specify the output of subcategories, products, or both.
If this does not give the desired result, then change the product category templates and write the logic that is needed.
It is difficult to answer in more detail, because the question was asked so that after reading it 3 times, I still did not understand what was needed.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question