Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.

sale_endingspecial_ending_1-0

Locked

Started by darkangel on 17 Jun 2010, 11:39 PM · Views: 408

Results 1 to 1 of 1
This thread is locked. New replies are disabled.
17 Jun 2010, 11:39 PM
#1
darkangel avatar

darkangel

Totally Zenned

Join Date:
Oct 2007
Location:
Emporia, Kansas
Posts:
1,729
Plugin Contributions:
0

Post #1 by darkangel

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.