paolojpa Posted July 24, 2019 Share Posted July 24, 2019 How i can change the position of this symbol? Link to comment Share on other sites More sharing options...
prestamodulo Posted July 24, 2019 Share Posted July 24, 2019 Which version of Prestashop you are running ? Adding new currency and disabling the current one does not solve your issue ? Link to comment Share on other sites More sharing options...
paolojpa Posted July 24, 2019 Author Share Posted July 24, 2019 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 Link to comment Share on other sites More sharing options...
prestamodulo Posted July 24, 2019 Share Posted July 24, 2019 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 Link to comment Share on other sites More sharing options...
paolojpa Posted July 24, 2019 Author Share Posted July 24, 2019 and what if the folder "translations/cldr/" it's empty? Link to comment Share on other sites More sharing options...
paolojpa Posted July 24, 2019 Author Share Posted July 24, 2019 and i tried deleting and adding the currency again and it doesn't work Link to comment Share on other sites More sharing options...
joseantgv Posted July 24, 2019 Share Posted July 24, 2019 (edited) This solution is not valid in PS 1.7.6.0. Edited July 24, 2019 by joseantgv (see edit history) Link to comment Share on other sites More sharing options...
prestamodulo Posted July 24, 2019 Share Posted July 24, 2019 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 $ Link to comment Share on other sites More sharing options...
prestamodulo Posted July 24, 2019 Share Posted July 24, 2019 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 ? Link to comment Share on other sites More sharing options...
paolojpa Posted July 24, 2019 Author Share Posted July 24, 2019 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 Link to comment Share on other sites More sharing options...
prestamodulo Posted July 24, 2019 Share Posted July 24, 2019 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> Link to comment Share on other sites More sharing options...
paolojpa Posted July 24, 2019 Author Share Posted July 24, 2019 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 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now