View Single Post
  #4  
Old 11-21-2008, 04:57 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Change Layout on Product.tpl

Code:
<table width="100%" cellspacing="0" cellpadding="0"> <tr> {if $product.taxed_price gt 0 and $product.list_price gt 0} <td align="right" valign="top" width="60" id="save_percent_box"{if $product.taxed_price >= $product.list_price} style="display: none;"{/if}> <table width="60" cellspacing="1" cellpadding="2"> <tr> <td class="SaveMoneyLabel"> <br /> {math equation="100-(price/lprice)*100" price=$product.taxed_price lprice=$product.list_price format="%3.0f" assign=discount} &nbsp;<span id="save_percent">{ $discount }</span>% </td> </tr> </table> </td> {/if} <td>{if $product.fulldescr ne ""}{$product.fulldescr}{else}{$product.descr}{ /if}</td> </tr> </table>
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote