Hi Linda,
I'm sorry but it seems this modification is having no effect on both the product page and the shopping cart page where I have the "also purchased" mod enabled. I am still seeing the items from the category and subcategories on all my pages
My code looks like this:
Code:
<?php
/**
* Module Template
*
* Displays content related to "also-purchased-products"
*
* @package templateSystem
* @copyright Copyright 2003-2005 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: tpl_modules_also_purchased_products.php 3206 2006-03-19 04:04:09Z birdbrain $
*/
$zc_show_also_purchased = false;
include(DIR_WS_MODULES . zen_get_module_directory(FILENAME_ALSO_PURCHASED_PRODUCTS));
?>
<?php if ($zc_show_also_purchased == true && ($current_category_id != '71' && $current_category_id != '72' && $current_category_id != '75' && $current_category_id != '76') ) { ?>
<div class="centerBoxWrapper clearfix" id="alsoPurchased">
<?php
require($template->get_template_dir('tpl_columnar_display.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_columnar_display.php');
?>
</div>
<?php } ?>
Bookmarks