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

save $ amount in addition to percent

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 10-07-2009, 09:20 AM
 
jwilkers jwilkers is offline
 

Advanced Member
  
Join Date: Oct 2005
Posts: 93
 

Default save $ amount in addition to percent

Hello all,

I'm about to give up on these forums. Haven't received any replies to the last two threads I've posted, but here goes, I'll give it another shot:

The "save %" feature. I would like to know if anyone can give me the code to have the difference in price displayed as well?

What could I add in between the label {$lng.lbl_save_price} and {$product.appearance.market_price_discount}% to achieve this?

I want it to be something like: save $40.00 25%

Thanks in advance for anyone's help on this

This IS for 4.2.2
__________________
JW - Xcart Version: several
dragged one cart's database kicking and screaming from 4.0.16 to 4.4.1.
Reply With Quote
  #2  
Old 10-07-2009, 09:27 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: save $ amount in addition to percent

Try

{math equation="x - y" x=$product.list_price y=$product.taxed_price}
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #3  
Old 10-07-2009, 09:35 AM
 
jwilkers jwilkers is offline
 

Advanced Member
  
Join Date: Oct 2005
Posts: 93
 

Default Re: save $ amount in addition to percent

worked like a charm. thank you very much for your help.

you seem pretty savvy, if you're advising on version 5. Ever hear of a bug in X-cart that would cause what I posted in this thread?:

http://forum.x-cart.com/showthread.php?t=50018
__________________
JW - Xcart Version: several
dragged one cart's database kicking and screaming from 4.0.16 to 4.4.1.
Reply With Quote
  #4  
Old 10-07-2009, 09:41 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: save $ amount in addition to percent

Answer there
__________________
Steve Stoyanov
CFLSystems.com
Web Development
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 10:09 AM.

   

 
X-Cart forums © 2001-2020