Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Disable % saved graphic??

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-29-2008, 09:07 AM
 
collings26 collings26 is offline
 

Senior Member
  
Join Date: Dec 2007
Posts: 149
 

Default Disable % saved graphic??

Hello,

I wondered if it was possible to disable the % saved graphic when it reads 0%. For instance an items rrp is ё35 but the cheapest supplier i have forces me to sell it for ё40, means there is not saving but an image of 0% show on the product page.

Regards
Chris
__________________
X-Cart v4.1.9 [unix]
Reply With Quote
  #2  
Old 02-29-2008, 09:28 AM
 
carpeperdiem carpeperdiem is offline
 

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

Default Re: Disable % saved graphic??

You could "if" it out, BUT WHAT I WOULD DO-- simply change the database for the one item - instead of BOTH price and "list price", simply leave "list price" empty.

The alternative is to put an "if" in the product.tpl code, so that if the discount amount gt 0, then show it (else do nothing) -- but this seeks like overkill when you can just change the price of one item.
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 12:04 PM.

   

 
X-Cart forums © 2001-2020