KonaKart Community Forum

Installation / Configuration => Programming of KonaKart => Topic started by: Sony George on May 22, 2010, 08:12:08 am

Title: how to show only the categories that have products in it
Post by: Sony George on May 22, 2010, 08:12:08 am
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