Tried this:
Code:
if (SHOW_COUNTS == 'true' and ($this_is_home_page)) {
$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;
}
}
And I tried this:
Tried this:
Code:
if (SHOW_COUNTS == 'true' and $this_is_home_page !=true) {
$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 also tried and $this_is_home_page == false
But nothing seems to work right. I'm not sure whether I need to compare "$this_is_home_page" to some global variable/ or what...
Bookmarks