I created a sidebar menu to navigate my product catalog which I made with Woocommerce.
The problem is that only parent categories that have product in them themselves show up in the menu.
E.g. the parent category "furniture" is divided into various subcategories but doesn't hold any product itself, therefore it's invisible in the menu. The parent category "decoration" has both products and subcategories and thus does show up in the menu.
I cannot disable the "hide subcategories" function cause it would be one big chaos due to many subcategories in my catalog.