X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Putting RRP and savings (as $) in product page. (https://forum.x-cart.com/showthread.php?t=28145)

xcarter 02-05-2007 04:32 AM

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.
:(

PhilJ 02-05-2007 04:36 AM

Re: Putting RRP and savings (as $) in product page.
 
Double check you've used my updated code.

xcarter 02-05-2007 04:58 AM

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?

PhilJ 02-05-2007 05:05 AM

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}


xcarter 02-06-2007 04:15 AM

Re: Putting RRP and savings (as $) in product page.
 
This code gives me an error.

:(

PhilJ 02-06-2007 04:17 AM

Re: Putting RRP and savings (as $) in product page.
 
It would help if you post the error.


All times are GMT -8. The time now is 09:55 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.