THELIA Forum

Welcome to the THELIA support and discusssion forum

Announcement

Rejoignez la communauté sur le Discord Thelia : https://discord.gg/YgwpYEE3y3

Offline


Hello,
I'm currently working for an Australian customer and I would like to format the prices (AUD$) like this :
"$2,495.00"
But I didn't find how to change the symbol currency position. Any help would be appreciated.
Best regards,

Gaetan

Offline


Hello,

It's currently not possible.


If you want to change this, you have to edit core/lib/Thelia/Tools/MoneyFormat.php, and change the line 41. Replace :

$number = $number . ' ' . $symbol;

with :

$number = $symbol . $number;

This will be fixed in 2.2, an issue is opened here.


OpenStudio Toulouse

Offline


Thank you for your help, it's working for most of pages except for the mini-cart and new products ("Latest") on homepage.

Do I need to edit another file ?

Thank you !

Last edited by gaetanMX (26-05-2015 03:41:05)