Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to hide categories if there is no sub-category and no product


dragontale

Recommended Posts

hello,

 

I have been trying to do this myself for a few days now without any progress. Please advise. Thanks.

 

Here is what I want to do:

 

In the left category box, if sub-category do not have product and not have sub sub-category, then hide it.

 

So if the sub-category do not have any product but have sub sub-category, then I still want it to be seen.

 

I searched the contribution and find one that hide category when it has 0 product, but that's kind of different from what I need.

 

Thanks a lot !!

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...