ms.currencies

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

currencies
It provides the list of all the currencies enabled in the store from admin panel.
nameReturn the name of the currency.
symbolReturns the symbol of the currency.

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.