Answer the question
In order to leave comments, you need to log in
How to get list of last level child categories in WooCommerce?
For example, there is such a hierarchy:
Category1
-Subcategory11
--Subsubcategory111
--Subsubcategory112
--Subsubcategory113
-Subcategory2
--Subsubcategory121
--Subsubcategory122
Category2
-Subcategory21
--Subsubcategory211
--Subsubcategory212
--Subsubcategory213
-Subcategory22
--Subsubcategory221
--Subsubcategory222
How to get the list last level child categories in WooCommerce?
That is, if I am on the Category1 page, then Subsubcategory111, Subsubcategory112, Subsubcategory113, Subsubcategory121, Subsubcategory122 should be displayed
and if the page has Subcategory11, then Subsubcategory111, Subsubcategory112, Subsubcategory113
, etc.
Answer the question
In order to leave comments, you need to log in
WooCommerce has a special widget for categories, in its settings you can do exactly as you need in the question.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question