How to get categories to display sub-categories?
-
I have the following hierarchy in my WooCommerce shop:
Level 1 - Level 2 - Level 2 - Level 3 - Level 3
What I’m trying to achieve is that when you click on a category (for example, level 1) for it to display the subcategories (level 2), and then when you click on the subcategories (level 2) for it to display the sub-sub-categories (Level 3). The problem that I have got is that it will only display the parent of the last category (so in this example, it only displays level 3 categories in level 2, it does not display level 2 categories in level 1).
In the WooCommerce settings I have set “Shop Page Display: Show Category & Subcategories” and “Default Category Display: Show Subcategories” but it doesn’t work.
Any help??
- The topic ‘How to get categories to display sub-categories?’ is closed to new replies.