9

To reliably change the price format(group and decimal symbol) without having to override several classes or write plugins for them, I need to override the en.xml from the Zend library. Changing the XML directly covers several areas at once, like list view, product view or knockoutJS.

vendor/magento/zendframework1/library/Zend/Locale/Data/en.xml

I tried to override it via theme, but that didn't seem to work. Any ideas?

0

You can replace this module with your own in composer.json file of your Magento 2 project. And in your module you can fix this price or number format. Small example of replace usage here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.