Jump to content

Currency symbol position


Recommended Posts

  • 1 year later...
  • 1 year later...

enter Currency tab under Payment in backoffice, then edit your currency.

You will find formatting option inside there including decimal option .etc

:snake:

Thank you.

Your reply was about 1 year late, but it helped me 2 years later :)

  • Like 2
Link to comment
Share on other sites

  • 2 years later...

There are five formats defined in Currency::getSign method. Try to add another one.

I have look but none of them user  the dot for the thousands and comma for the decimals (is that what they are called?) eg 11.444,67 €

 

Any tips ?

Link to comment
Share on other sites

After a lot of digging I found this solution that seems to work

 

I changed file /classes/Tools.php

 

line 540

 

from

$ret = number_format($price, $c_decimals, ',', ' ').$blank.$c_char;

 

to 

 

$ret = number_format($price, $c_decimals, ',', '.').$blank.$c_char;

 

Hope this does not mess up something else

Link to comment
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
×
×
  • Create New...