Jump to content
paolojpa

Problem with a currency symbol

Recommended Posts

How i can change the position of this symbol?

 

 

Screenshot at Jul 24 01-33-30.png

Share this post


Link to post
Share on other sites

Which version of Prestashop you are running ?

Adding new currency and disabling the current one  does not solve your issue ?

Share this post


Link to post
Share on other sites
Just now, prestamodulo said:

Which version of Prestashop you are running ?

Adding new currency and disabling the current one  does not solve your issue ?

I'm using the 

1.7.6.0 version

 

Share this post


Link to post
Share on other sites

Ok if adding new currency does not solve your issue than follow this steps:

1. Coneect with ftp/cpanel/plesk and Go to translations/cldr/main--en-US--currencies

2. find out USD and in this section replace your currency icon with $ where is says symbol and symbol-alt-narrow 

3. save the file and you are done

Share this post


Link to post
Share on other sites

and what if the folder "translations/cldr/" it's empty?

 

Share this post


Link to post
Share on other sites

and i tried deleting and adding the currency again and it doesn't work

Share this post


Link to post
Share on other sites
20 minutes ago, paolojpa said:

and what if the folder "translations/cldr/" it's empty?

  

seems like in 1.7.6.0 some files positions and type changed.

Go to localization > CLDR > core > common > main

open file es_US.xml and find out USD and replace your symbol with $

Share this post


Link to post
Share on other sites
1 minute ago, joseantgv said:

It's not valid for PS 1.7.6.0

Yes it works before 1.7.6.0 but have seen my recent replay ?

Share this post


Link to post
Share on other sites

im using es_CL.xml does it matter?

because i want to show the price like this: $500

but the theme show the price like this: 500 $

and some costumers tend to confuse with the position of the symbol

Share this post


Link to post
Share on other sites

If you want to change the position of symbol than find currencyFormat in the same file and in the section pattern change the position of ¤ 

For the file es_CL.xml for the currency CLP. After saving clear Prestashop chache and your browser cache

<currencyFormats numberSystem="latn">
	<currencyFormatLength>
		<currencyFormat type="standard">
			<pattern>¤#,##0.00;¤-#,##0.00</pattern>
		</currencyFormat>
	</currencyFormatLength>
</currencyFormats>

To:
<currencyFormats numberSystem="latn">
	<currencyFormatLength>
		<currencyFormat type="standard">
			<pattern>#,##0.00¤;¤-#,##0.00</pattern>
		</currencyFormat>
	</currencyFormatLength>
</currencyFormats>

 

Share this post


Link to post
Share on other sites
9 hours ago, prestamodulo said:

If you want to change the position of symbol than find currencyFormat in the same file and in the section pattern change the position of ¤ 

For the file es_CL.xml for the currency CLP. After saving clear Prestashop chache and your browser cache


<currencyFormats numberSystem="latn">
	<currencyFormatLength>
		<currencyFormat type="standard">
			<pattern>¤#,##0.00;¤-#,##0.00</pattern>
		</currencyFormat>
	</currencyFormatLength>
</currencyFormats>

To:
<currencyFormats numberSystem="latn">
	<currencyFormatLength>
		<currencyFormat type="standard">
			<pattern>#,##0.00¤;¤-#,##0.00</pattern>
		</currencyFormat>
	</currencyFormatLength>
</currencyFormats>

 

i have changed that and delete cache of the website and my browser and nothing happens

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More