Shortcode

The plugin provides you shortcodes to display currencies exchange widgets, exchange rates on the front-end.

  • Exchange rate shortcodes allow you to display live exchange rates on the front-end.
    [woo_multi_currency_rates currencies="GBP,EUR"] This shortcode will display the exchange rate between GBP, EUR, and your default currency on the front-end. You can change to other currencies by changing the currencies codes GBP, EUR
    For example, I have USD as my default currency, this shortcode will display the rate of GBP and EUR per 1 USD.
  • Shortcode for configuring the size of flag: adding the shortcode flag_size= value[0-1] to the shortcode of currency selector widget. Example: [woo_multi_currency_layout4 flag_size=0.4]
  • To display product price in a particular currency:
    • On a single product page: [woo_multi_currency_exchange]
    • Other than on a single product page: [woo_multi_currency_exchange product_id="" currency="" price="" original_price=""]
      • Product ID: add the ID of the product you want to convert currency
      • Currency: Add the currency you want to convert the product price, leave blank and the price will be converted the currency that is currently applied to customers
      • Price: Product price
      • Original price: Add this value if the item is on sale
  • To display a currency converter to convert specific value among currencies, use this shortcode: [woo_multi_currency_convertor]

 

  • Currency Selector widgets with different front-end styles.
Shortcode Description
[woo_multi_currency]
[woo_multi_currency_plain_horizontal]
[woo_multi_currency_plain_vertical direction=’top’]
[woo_multi_currency_plain_vertical_2]
[woo_multi_currency_layout3]
[woo_multi_currency_layout4]
[woo_multi_currency_layout5]
[woo_multi_currency_layout6]
[woo_multi_currency_layout7]
[woo_multi_currency_layout8]
[woo_multi_currency_layout9]
[woo_multi_currency_layout10]
[woo_multi_currency_layout11]

[woo_multi_currency_product_price_switcher]

Note: This is applied for specific product pages built with Elementor or other page builders.