Zen Cart Logo
Forums / All Other Contributions/Addons / Shopping Cart Original Price - Pricing contrib

Shopping Cart Original Price - Pricing contrib

Locked

Views: 862

Results 1 to 1 of 1
This thread is locked. New replies are disabled.
30 Aug 2008, 11:13 AM
#1
namsingh avatar

namsingh

Zen Follower

Join Date:
Sep 2006
Location:
Leeds, UK
Posts:
165
Plugin Contributions:
0

Shopping Cart Original Price - Pricing contrib

This contrib is supposed to show the normal price if the item is on special or sale. But my shopping cart shows the normal price for all items. Here is the code line I think isn't working. Any help??

I can't get it to output the zen_get_products_display_price($product['id'])) to see what it holds

tpl_shopping_cart_default.php


  if ($product['productsPriceEach'] != zen_get_products_display_price($product['id'])) { // #SMA01
?>

      <br /><span class="normalprice"><?php echo $currencies->display_price(zen_get_products_base_price($product['id']), zen_get_tax_rate($products[$i]['tax_class_id'])); // #SMA04 ?></span>
<?php
  } // #SMA01
?>
   </td>