Magento 2 Get Currency Symbol in JS File.

If you are looking to get the current currency symbol in Magento 2 JavaScript file and want a formatted price in Magento 2 JS file then this blog post is for you.

When you add the custom price somewhere on your Magento 2 quote, that price should be in the proper formats, like with a currency symbol, current store currency, and 2 decimal points. Magento provides Magenot_Catalog/js/price-utils JS file which does this for you.

Continue reading “Magento 2 Get Currency Symbol in JS File.”