Renders the currency switcher: the list of available currencies and the active one. Selecting a currency reprices the store in that currency.

Usage

<div data-v-component-currency>
  <div data-v-currency>
    <a href="" data-v-currency-url><span data-v-currency-name></span></a>
  </div>
</div>

Settings

  • data-v-start - starting offset, default 1
  • data-v-limit - max currencies, default 1000
  • data-v-status - 1 = active only, default 1
  • data-v-site_only - only currencies enabled for the current site, default on
  • data-v-default - preselect this currency instead of the site default