View Single Post
  #1  
Old 09-06-2003, 08:49 PM
  enge919's Avatar 
enge919 enge919 is offline
 

Senior Member
  
Join Date: May 2003
Posts: 141
 

Default Displaying product savings in $ amount instead of % percent

Is there a way that I can show my customers how much they are saving in dollar amount rather that the standard way xcart displays it in percentage.

I found this code that generates the percentage amount in customer/main/products_tpl

Code:
>{if $products[product].list_price gt 0 and $products[product].price lt $products[product].list_price}, save {$discount}%{/if}

How can I change this to display in dollar amount?
Reply With Quote