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)
-   -   How to change $ symbol to the right of the product price (https://forum.x-cart.com/showthread.php?t=38306)

Nacho71 03-14-2008 03:09 AM

How to change $ symbol to the right of the product price
 
I would like to change $ symbol to the right of the product price insted of its right hand...
Someone know how to do it?
Thanks a lot for all your help
Regards

Yurij 03-14-2008 03:13 AM

Re: How to change $ symbol to the right of the product price
 
in Admin area select "General Setings->General Options".
Find field - "Primary currency symbol" ;)

Nacho71 03-14-2008 03:15 AM

Re: How to change $ symbol to the right of the product price
 
But with this, I can change just symbol...
I need to change the place for this symbol...
Understand me? :roll:

pauldodman 03-14-2008 05:23 AM

Re: How to change $ symbol to the right of the product price
 
Hola
You want the Euro symbol on the right, don't you?

You need to edit skin1/currency.tpl and swap over these 2 variables:
from:
{$config.General.currency_symbol}{$value|abs_value |formatprice}
to:
{$value|abs_value|formatprice}{$config.General.cur rency_symbol}

Nacho71 03-14-2008 06:40 AM

Re: How to change $ symbol to the right of the product price
 
It works perfectly paul... :-)
But I have to change the list price too to the right hand...
Do you know what should i edit??
Thanks a lot my friend :-)

pauldodman 03-14-2008 06:44 AM

Re: How to change $ symbol to the right of the product price
 
Has that not changed too?
The list price also uses currency.tpl to display too.

Nacho71 03-14-2008 07:07 AM

Re: How to change $ symbol to the right of the product price
 
It is not working for list price... :(
Are you sure it is in that template too? :roll:

pauldodman 03-14-2008 07:17 AM

Re: How to change $ symbol to the right of the product price
 
it does in products.tpl for the product listings - where abouts are you looking?

Nacho71 03-14-2008 07:34 AM

Re: How to change $ symbol to the right of the product price
 
But do you know what line should I change?
I cant find it :(

pauldodman 03-14-2008 07:36 AM

Re: How to change $ symbol to the right of the product price
 
You shouldn't need to change any lines - the display of prices use currency.tpl normally - which you have changed.
What I need to know now is where the list price is causing you a problem - I can't tell you what line to change, as I have no idea where on your site the list price is that is causing the problem.


All times are GMT -8. The time now is 07:17 PM.

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