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

Putting RRP and savings (as $) in product page.

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #11  
Old 02-05-2007, 04:32 AM
 
xcarter xcarter is offline
 

Senior Member
  
Join Date: Sep 2005
Posts: 146
 

Default Re: Putting RRP and savings (as $) in product page.

Hi, when I put zero in RRP nothing at all shows.

No RRP, List Price, or Saving.


Please help.
__________________
Version 4.1.9
Reply With Quote
  #12  
Old 02-05-2007, 04:36 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: Putting RRP and savings (as $) in product page.

Double check you've used my updated code.
__________________
xcartmods.co.uk
Reply With Quote
  #13  
Old 02-05-2007, 04:58 AM
 
xcarter xcarter is offline
 

Senior Member
  
Join Date: Sep 2005
Posts: 146
 

Default Re: Putting RRP and savings (as $) in product page.

Yeah sure I have.

The other wasn't working.

Unless you've updated the code again?
__________________
Version 4.1.9
Reply With Quote
  #14  
Old 02-05-2007, 05:05 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: Putting RRP and savings (as $) in product page.

Code:
{if $product.list_price gt $product.taxed_price} <b>{$lng.lbl_list_price}:</b> {$config.General.currency_symbol}{$product.list_price}<br> <b>{$lng.lbl_price}:</b> {$config.General.currency_symbol}{$product.taxed_price}<br> <b>{$lng.lbl_save}:</b> {$config.General.currency_symbol}{math equation="x - y" x=$product.list_price y=$product.taxed_price format="%.2f"} ! {/if}
__________________
xcartmods.co.uk
Reply With Quote
  #15  
Old 02-06-2007, 04:15 AM
 
xcarter xcarter is offline
 

Senior Member
  
Join Date: Sep 2005
Posts: 146
 

Default Re: Putting RRP and savings (as $) in product page.

This code gives me an error.

__________________
Version 4.1.9
Reply With Quote
  #16  
Old 02-06-2007, 04:17 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: Putting RRP and savings (as $) in product page.

It would help if you post the error.
__________________
xcartmods.co.uk
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:14 AM.

   

 
X-Cart forums © 2001-2020