Hi Glen
I have it working to a degree I have manged to diplsay the sidebox on one category only using the following
<?php
/**
* blank sidebox - allows a blank sidebox to be added to your site
*
* @package templateSystem
* @copyright 2007 Kuroi Web Design
* @copyright Portions Copyright 2003-2007 Zen Cart Development Team
* @license <http://www.zen-cart.com/license/2_0.txt> GNU Public License V2.0
*
@version $Id: blank_sidebox.php 2007-05-26 kuroi $
*/
// test if box should display
$show_blank_sidebox = true;
if ($current_page_base == 'index' and $cPath == '1_2' ) {
$show_blank_sidebox = true;
require($template->get_template_dir('tpl_blank_sidebox.php',DIR_WS_TEMPLATE, $current_page_base,'sideboxes'). '/tpl_blank_sidebox.php');
$title = BOX_HEADING_BLANK_SIDEBOX;
$title_link = false;
require($template->get_template_dir($column_box_default, DIR_WS_TEMPLATE, $current_page_base,'common') . '/' . $column_box_default);
}
?>
How can I extend this to include a product path too as I only want to display this on 6 pages
if ($current_page_base == 'index' and $cPath == '1_2' ) {
$show_blank_sidebox = true;
I have tried adding
and $pPath == 1
and $product_id == 1
but dont seem to be able to set it to a specific product ppage
Thanks again for all your help