In /includes/templates/your_template/sideboxes/tpl_categories.php, find around line 31
PHP Code:
if (zen_get_product_types_to_category($box_categories_array[$i]['path']) == 3 or ($box_categories_array[$i]['top'] != 'true' and SHOW_CATEGORIES_SUBCATEGORIES_ALWAYS != 1)) {
// skip if this is for the document box (==3)
} else {
and add
ereg("_.*_", $box_categories_array[$i]['path']) or
to get
PHP Code:
if (ereg("_.*_", $box_categories_array[$i]['path']) or zen_get_product_types_to_category($box_categories_array[$i]['path']) == 3 or ($box_categories_array[$i]['top'] != 'true' and SHOW_CATEGORIES_SUBCATEGORIES_ALWAYS != 1)) {
// skip if this is for the document box (==3)
} else {
This skips the item display if there are two or more _ in the cPath.
Bookmarks