Totally Zenned
- Join Date:
- Oct 2007
- Location:
- Australia
- Posts:
- 814
- Plugin Contributions:
- 0
Hide category count -- on only ONE category
Ajeh:
An example would be, if the Gift Certificates are in categories_id 21 then you could use:
if (SHOW_COUNTS == 'true' && $counter != 21) {
$products_in_category = zen_count_products_in_category($counter);
if ($products_in_category > 0) {
$this->box_categories_array[$ii]['count'] = $products_in_category;
} else {
$this->box_categories_array[$ii]['count'] = 0;
}
}
I know this is a really really old thread LOL but I'd like to just hide the category counts on the top level categories but still show them on the subcats...what would I need to change in the above code to do that? Or how to make the category excluded there into an array instead I spose lol
HunnyBee Design
"A man's manners are a mirror in which he shows his portrait." ~ Johann Wolfgang von Goethe