मूल्य स्वरूप को अनुकूलित करने के लिए लोकेल कॉन्फ़िगरेशन फ़ाइल को ओवरराइड करें


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

हमारी साइट का प्रयोग करके, आप स्वीकार करते हैं कि आपने हमारी Cookie Policy और निजता नीति को पढ़ और समझा लिया है।
Licensed under cc by-sa 3.0 with attribution required.