If you only want the categories sidebox to display on category and product pages you might try:
PHP Code:
if ((isset($_GET['cPath']))&& ($_GET['cPath'] != 3)){
require($template->get_template_dir('tpl_categories.php',DIR_WS_TEMPLATE, $current_page_base,'sideboxes'). '/tpl_categories.php');
$title = BOX_HEADING_CATEGORIES;
$title_link = false;
require($template->get_template_dir($column_box_default, DIR_WS_TEMPLATE, $current_page_base,'common') . '/' . $column_box_default);
}
Which is based on this tutorial:
https://www.zen-cart.com/tutorials/i...hp?article=249
You can use this :
PHP Code:
&& ($_GET['cPath'] != 3
to exlude whatever other pages that you don't want the categories sidebox to display on.
You'll have to test this out yourself. No guarantees here.
Bookmarks