• Welcome to KonaKart Community Forum. Please login or sign up.
 

how to show only the categories that have products in it

Started by Sony George, May 22, 2010, 08:12:08 am

Previous topic - Next topic

Sony George

Hello,

I need to show only the categories that have at least one product under it,
i know that i can make a category invisible using admin app,
but i need to do this at run time, i did this in CategoriesTile1.jsp by adding an
if condition if(cat.getNumberOfProducts() > 0)

but how to achieve this in the category drop down at advanced search screen

thanks and regards

Sony George