Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Special / Saving Amounts not shown in Cart ?

Special / Saving Amounts not shown in Cart ?

Locked

Views: 724

Results 1 to 1 of 1
This thread is locked. New replies are disabled.
15 Dec 2008, 3:17 AM
#1
renaissanceart avatar

renaissanceart

New Zenner

Join Date:
Oct 2007
Posts:
65
Plugin Contributions:
0

Special / Saving Amounts not shown in Cart ?

Hi Guys,

All of my products are currently on sale via the "Specials" Controller.

A products initial Price is displayed, with a Line through it and the saving amount.

When you add this item to cart, the cart simply shows the updated figure, but no mention of the saving being made.

I need to change this.

At a glance the tpl_product_info_display.php parses this code to achieve the figures displayed on the product info page.

 <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>';

  } 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>

I can't for the life of me work out how to get this code to display the figures in my actual cart.

If i try to dump that somewhere into tpl_shopping_cart_default.php it doesnt do a whole lot.

Anyone have any experience with this ?? I'ts rather frustrating as ive already had some customers think when they order the discount hasnt been applied because it only displays the 1 price, and not the discounted price or original sale price etc. .

Cheers
Ren