Currency problems
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
- NeroCastorena
- Posts: 1
- Joined: 27 Jan 2023, 21:35
Currency problems
Hi, i change the currency to MXN but the '','' and ''.'' are wrong, for example i need the price to show like this $1,912.00 mxn and instead it looks like this $1.912,00 mex, how can i fix this?
I'm using aimeos 2022 and php 8.1
I'm using aimeos 2022 and php 8.1
Re: Currency problems
The number formatting depends on the used language, not the currency and the PHP Intl extension is responsible for that formatting. As Mexico uses a different number formatting than Spain, you have to use "es_MX" as language to get the correct number formatting.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star