-
sale_endingspecial_ending_1-0
I just installed this mod to my store and lost all my additional images from IH2, leaving only the main image on the product info page.
The strange thing is that the only difference between the file (tpl_product_info_display.php) from the store zip and the add on zip is the code for the sale.
Any ideas how to fix it?
I ended up uploading the fresh file from the store update zip to get my images back.
the code is
------------------------------------------------------
find: <!--bof Product Price block -->
<h2 id="productPrices" class="productGeneral">
<?php
// base price
if ($show_onetime_charges_description == 'true') {
$one_time = '<span >' . TEXT_ONETIME_CHARGE_SYMBOL . TEXT_ONETIME_CHARGE_DESCRIPTION . '</span><br />';
} else {
$one_time = '';
}
echo $one_time . ((zen_has_product_attributes_values((int)$_GET['products_id']) and $flag_show_product_info_starting_at == 1) ? TEXT_BASE_PRICE : '') . zen_get_products_display_price((int)$_GET['products_id']);
?></h2>
add after:
<!--bof Sale Special Ending block -->
<?php
$ssblock = sale_special_ending((int)$_GET['products_id']);
if ($ssblock != '') {
echo "<div class='ssblock'>" . $ssblock . "</div>";
}
?>
<!--eof Sale Special Ending block -->
-----------------------------------------------------
other than that nothing else is altered. however when I upload the file with the edit everything under the description disappears.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Content and Graphics Copyright (c) 2003 - 2026 Zen Ventures, LLC - all rights reserved
Zen Cart® is a Registered Trademark of Zen Ventures, LLC