Osclass forums

Support forums => Themes => Bender => Topic started by: armando72 on September 16, 2013, 11:57:43 pm

Title: Search sidebar - refine categories - hide link if no ads
Post by: armando72 on September 16, 2013, 11:57:43 pm
I'm getting soft 404's on categories that don't contain ads on the the search sidebar. Any suggestions would be welcomed. I decided to hide categories with 'if( osc_category_total_items($c) > 0 )' but this only hides categories if all of the child categories within a parent category are empty.

Basically, I'm looking at two options. Display a checkbox to allow users to filter more than on category OR hide categories if they don't contain ads.