cmroanirgo Posted October 14, 2018 Share Posted October 14, 2018 (edited) I'm a bit stuck trying to figure out why my store keeps displaying all my prices with an 'A' in front of them, eg 'A$1.00' rather than '$1.00'. The store is for Australia and have set everything I can find to be Australian. Debugging the code (using XDebug), I find that src\Core\CLDR\Repository.php getPrice() is still thinking that my locale is set to 'en-US'...And this is where the problem really is.... because in the 'culture' tables for the US, it says that Australian currencies should be displayed with an 'A' in the front of it. (It's wrong btw: it should display AUD afterwards... but that's beside the point). I've tried: - "Localization > Import a localization pack". It seems to do nothing - Creating my own 'Language' with country code 'OZ' (a nonsensical one) and region as 'en-AU' (I've tried en and AU variants too) - Deleting / Creating a currency - In "Localization > Configuration" I have set Langage (Oz), "Set Language from Browser" AND "set default Country from browser" to FALSE, Default Country is "Australia", Timezone is Sydney Any ideas? Thanks, Craig Edited October 14, 2018 by cmroanirgo (see edit history) Link to comment Share on other sites More sharing options...
jstillings1 Posted October 14, 2018 Share Posted October 14, 2018 Hey there Craig, It is maddening right! is that version 1.7.4.2 or .3? I was going to use the Prestashop demo back office to help you, but some smart butt deleted the user:) It auto resets every 10 minutes or so.. so it will be back:) So the manual states "International" menu, "Localization" page, "Configuration" section. " is where to set this BUT as you mentioned the data is wrong. So lets fix it shall we? I believe you can change this in the backoffice under the Translations section Open it up and see if you can find the sections there will be more then 1 backoffice front end etc marked ISO when I look at the code that is where it pulls the text from for the A before the $ amount. I do not have a shop set up with that local, and i do not want to log into a live one to play around (and possibly break it ) so that is the best i can do atm to help. Link to comment Share on other sites More sharing options...
cmroanirgo Posted October 15, 2018 Author Share Posted October 15, 2018 Thanks for your feedback, but I'm not having much luck in finding anything worthwhile in the translations section. I'm on Presta 1.7.4.2 Link to comment Share on other sites More sharing options...
jstillings1 Posted October 15, 2018 Share Posted October 15, 2018 (edited) See if ya can find this http://prntscr.com/l668ym http://prntscr.com/l666vf i do not know if that is a fix I used a buddys backend demo to locate that . Hope i didnt monkey it up for him, Thanks @Prestaheroes Edited October 15, 2018 by jstillings1 (see edit history) Link to comment Share on other sites More sharing options...
cmroanirgo Posted October 15, 2018 Author Share Posted October 15, 2018 @jstillings1 Thanks, but that's what the problem is. Selecting it shows the wrong symbol. Link to comment Share on other sites More sharing options...
cmroanirgo Posted October 15, 2018 Author Share Posted October 15, 2018 I've raised this as a fault, since it seems that there isn't a simple fix. https://github.com/PrestaShop/PrestaShop/issues/11019 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