I have an issue and I need help. I am using a tree of categories, the last category in the tree has products. All the others have only links to subcategories. Here is an example:
Category A
--> Category B
----> Category B1
----> Category B1
-> Category C
----> Category C1
----> Category C2
Category A page has image links to category B and C. Categories B and C has image links to B1, B2 and C1, C2.
Only B1, B2 and C1, C2 have products.
"Browse By" side block shows 0 products in a category without products inside (B and C). I would like to keep showing products numbers for categories but only for those which have products inside. If a visitor is going in a subcategory and seeing 0 products will not go inside.
I guess it is an if statement inside a file, but I need advice.
Thank you.