getCustomerSelectedCurrency( )


Returns the currency selected by the customer.

The getCustomerSelectedCurrency() method returns a Promise that resolves with the currency selected by the customer.

For more site currency and conversion functionality:

  • To retrieve the site's currency, use the site.currency() method.
  • To get conversion rates, and convert between currencies, use the ecom.currencies module.

Learn more about changing the currency of your store.

Method Declaration
Copy
Request
This method does not take any parameters
Returns
Return Type:Promise<string>
Errors

This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?