ms.currency

This widget is used to manage the currencies of the store. Here you can get the list of all the currencies activated in your store and apply one of the currencies in the store.


Variables

currenciesIt provides the list of all the currencies enabled in the store from admin panel.
baseCurrencyIt provides the base currency or default currency set in your store.

Methods

setCurrencyThis is used to apply or change the currency on your store from the storefront. You need to pass selected currency object here as an argument.