View Single Post
  #7  
Old 01-13-2004, 10:26 PM
  BoomBoomBap's Avatar 
BoomBoomBap BoomBoomBap is offline
 

Senior Member
  
Join Date: Nov 2002
Location: San Francisco
Posts: 184
 

Default

I wasnt able to get either one of these fixes working for 3.4.10

Any update here?

the code Im currently using is below. Naturally I would like it to show $ instead of % as the topic of this forum indicates.

Code:
{if $product.price ne 0}{include file="currency.tpl" value=$product.price}{include file="customer/main/alter_currency_value.tpl" alter_currency_value=$product.price}{if $config.Taxes.use_vat eq "Y" and $product.vat gt "0"}, {$lng.lbl_including_vat} {$product.vat}%{/if} {/if} {if $product.list_price gt 0 and $product.price lt $product.list_price} {math equation="100-(price/lprice)*100" price=$product.price lprice=$product.list_price format="%d" assign=discount}(Save {$discount}%){/if}
__________________
Site 1 > XCART LIVE 3.4.12

Site 2 > XCART LIVE 4.0.17
Reply With Quote