View Single Post
  #2  
Old 07-11-2007, 04:40 AM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default Re: Disable the % saved feature

How about commenting out the code in products.tpl?

FIND:
Code:
<table width="100%" cellspacing="0" cellpadding="0"> <tr> <td><span>{if $product.fulldescr ne ""}{$product.fulldescr}{else}{$product.descr}{/if}</span></td> {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>

comment it out
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote