View Single Post
  #9  
Old 08-27-2003, 04:39 PM
 
dawing dawing is offline
 

Member
  
Join Date: Aug 2003
Posts: 15
 

Default Thanks

The code worked as it is showing up, however I attached a photo of what it looks like.


http://www.club5jax.com/images/details.gif

Here is the code:

<td>

{if $product.list_price gt 0}
{math equation="100-(price/lprice)*100" price=$product.price lprice=$product.list_price format="%d" assign=discount}
<font class=MarketPrice>{$lng.lbl_market_price}: <s>
{include file="currency.tpl" value=$product.list_price}
</s></font>

{/if}

{if $product.price ne 0}
<font class=ProductDetailsTitle>{include file="currency.tpl" value=$product.price}</font><font class=MarketPrice> {include file="customer/main/alter_currency_value.tpl" alter_currency_value=$product.price}</font>{if $config.Taxes.use_vat eq "Y" and $product.vat gt "0"}, {$lng.lbl_including_vat} {$product.vat}%{/if}

{else}
<input type=text size=7 name=price>
{/if}
</td>
Reply With Quote