cancel
Showing results for 
Search instead for 
Did you mean: 

Different currency formatting?

Different currency formatting?

Hi,

 

So basically I am trying to adjust currency formatting for an Algerian client, the french part of the site works fine, the Arabic side was a bit messy due to RTL language but I managed to make it work. To adjust the currency format, I edited the ar.xml and ar_SA.xml under vendor/Magento/Zend...../Locale/Data and this works fine in Catalog view but if I go into a product view (And slow down loading). The initial formatting appears and then it is caught by something else that turns it into the formatting that I do not want.

 

Basically the price shows up as 123 000, no decimals and space as a thousands separator in the catalog view.

 

If I click the product, it then appears as 123,000.00 , showing 2 decimals and putting , as the thousands seperator.

 

Thank you for your time