Advertisement:

Author Topic: Search sidebar - refine categories - hide link if no ads  (Read 1720 times)

armando72

  • Newbie
  • *
  • Posts: 3
Search sidebar - refine categories - hide link if no ads
« 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.
« Last Edit: September 17, 2013, 12:01:24 am by armando72 »