C
C
CreativeStory2018-05-20 11:25:25
WooCommerce
CreativeStory, 2018-05-20 11:25:25

How to display structured child categories?

Good afternoon!
Faced the problem of displaying the titles of subcategories in the parent category.
For example, there is a parent category - Rolls, which displays all the products of the child subcategories (Hot rolls, Baked rolls, etc.) on the page.
I can't figure out how to display the subcategory headings and next to display the product from this subcategory.
The subheadings of subcategories, I can only display the type of breadcrumbs.
And you need the output on the page to be as follows:
Rolls
- Hot rolls
product product product
, etc.
- Baked rolls
product product product
, etc.
those. so that the title of the subcategory and immediately the products from this subcategory are displayed in the cycle, etc.
Now all products are displayed in the parent category. I would like to structure the output.
Tell me, please, the solution or in which direction to dig?) Thank you!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pychev Anatoly, 2018-05-20
@pton

Look here There is a link to a page which is also organized. And in the comments a description of the method. Only this method will work correctly provided that you do not have pagination on the page.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question