onedownfiveup Posted October 5, 2006 Posted October 5, 2006 I know it's been posted and I have spent 10 min searching and can't find it. What code will allow me not to have it display the sub catagories in the catalog infobox
steve_s Posted October 5, 2006 Posted October 5, 2006 you can amend /includes/boxes/categories.php look for and remove if (tep_has_category_subcategories($counter)) { $categories_string .= tep_image(DIR_WS_IMAGES . 'block.gif' . '', ''); } else { $categories_string .= tep_image(DIR_WS_IMAGES . 'block_red.gif', ''); } */ if (!empty($categories_left_spaces)) { $categories_string .= tep_image(DIR_WS_IMAGES . 'block_red.gif' . '', ''); } else { $categories_string .= tep_image(DIR_WS_IMAGES . 'block.gif', ''); } if (isset($cPath_array) && in_array($counter, $cPath_array)) { $categories_string .= ''; } *if ($cat_name == $tree[$counter]['name']) { $categories_string .= '<span class="errorText">'; }* not sure about this bit ok your images will be different gif then mine but will be same code
Recommended Posts
Archived
This topic is now archived and is closed to further replies.