Hey Zenners,
I have a weird issue where my cross sell header appears and disappears. To view this behavior go to this link:
http://www.pccapital.ca/notebook-1/t...ase-buy-3.html
Choose the "We Also Recommend" tab. Then, mouse over the header above the Cross Sell Products (it should say "Free Shipping on Two or My Items"). If you can't see it, or want to make it reappear, scroll to the bottom of the page, then mouse over the header area again. Neat, ehh? But I want to get rid of that behavior just the same,
I will include the code from my tpl_modules_xsell_products.php below. If anyone can see where there is an issue, or if I have included the wrong code, please let me know.
Thanks!
Code:
PHP Code:
<?php
/**
* Cross Sell products
*
* Derived from:
* Original Idea From Isaac Mualem [email protected] <mailto:[email protected]>
* Portions Copyright (c) 2002 osCommerce
* Complete Recoding From Stephen Walker [email protected]
* Released under the GNU General Public License
*
* Adapted to Zen Cart by Merlin - Spring 2005
* Reworked for Zen Cart v1.3.0 03-30-2006
*/
// calculate whether any cross-sell products are configured for the current product, and display if relevant
include(DIR_WS_MODULES . zen_get_module_directory(FILENAME_XSELL_PRODUCTS));
if (zen_not_null($xsell_data)) {
$info_box_contents = array();
$list_box_contents = $xsell_data;
$title = '';
?>
<!-- bof: tpl_modules_xsell_products -->
<div class="centerBoxWrapper" id="crossSell">
<h2 class="centerBoxHeading"><?php echo TEXT_XSELL_PRODUCTS; ?></h2>
<?php
/**
* require the list_box_content template to display the cross-sell info. This info was prepared in modules/xsell_products.php
*/
require($template->get_template_dir('tpl_columnar_display.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_columnar_display.php');
?>
<br><br><br>
</div>
<!-- eof: tpl_modules_xsell_products -->
<?php } ?>
Bookmarks