1. Documentation /
  2. Currency Converter Widget

Currency Converter Widget

The Currency Converter Widget for WooCommerce, made by Kestrel, allows you to show a widget listing currencies that can be used by customers to dynamically switch the displayed currency prices.


↑ Back to top
  • WooCommerce 4.0+


↑ Back to top
  1. Download the .zip file from your WooCommerce account.
  2. Go to “WordPress Admin > Plugins > Add New” and “Upload Plugin” with the file you downloaded with “Choose File”.
  3. Install Now and Activate the extension.
  4. More information at Install and Activate Plugins/Extensions.

Open Exchange Rates (optional)

↑ Back to top

Currency conversion is done by a built-in exchange rates service provided by Kestrel, but optionally, you can use the Open Exchange Rates provider. You only need to create an account here and get an App ID.

App ID

↑ Back to top

If you have an Open Exchange Rates App ID:

  • Go to “WooCommerce > Settings > Integrations > Open Exchange Rates“.
  • Paste the key in the form field.
  • And Save the changes.
Settings page for configuring the Open Exchange Rates integration
Open Exchange Rates Settings

After providing an App ID, new settings will appear in the form:

Rate refresh period

↑ Back to top

As its name indicates, it allows defining the period in hours the exchange rates will be refreshed in your store. The default value is twelve hours, meaning the rates will be updated twice daily. The minimum and maximum values are 1 and 24 hours, respectively.

Setup and Configuration

↑ Back to top

All the plugin settings are handled directly from the Currency Converter widget form.

Add widget

↑ Back to top

To add the Currency Converter widget:

  1. Go to: Appearance > Widgets.
  2. Choose the widget area you want to add the widget and click on the “+” button.
  3. Type “Currency converter” in the search form and select the widget from the results.
Add the currency converter widget to the sidebar.
Add the Currency Converter widget

Widget options

↑ Back to top

Once you have added the Currency Converter widget to your widget area, click on it to edit its preferences:

  • Title: Name the widget
  • Currency codes: Enter one currency code per line.
    • See a list of supported currencies at: http://openexchangerates.org/api/currencies.json
    • Use an asterisk (*) to control how currency symbols are displayed.
      • E.g., SEK* becomes 999kr. USD * becomes 999 $.
    • If you omit * and just provide the currency, WooCommerce’s default currency position will be used.
  • Currency display mode: Buttons or Select Box (both shown below in Usage)
    • Widget message: Note displayed to users.
    • Show currency symbols in the widget: Default is currency codes only.
    • Show reset link – If enabled, a ‘reset’ button will be shown to reset the currency to your store’s default.
    • Disable location detection: Tick to turn off detection of the user’s location. Geolocation is included as part of the Currency Converter widget, using locale to automatically display currency for their country.
Currency Converter widget settings
Currency Converter widget settings


↑ Back to top

What your customers see in the store is a currency selector like this:

The currency converter widget in the storefront
Currency converter widget

If geolocation is enabled, the customer’s currency will be selected, and the prices will be updated. If the geolocated country doesn’t match any available currencies, the store currency will be used.

You can display a select field as an alternative to the buttons. Just choose the option Select Box in the widget settings.

Currency converter widget using a select field
Currency selector

All prices are changed to selected, including:

  • Product prices
  • Sale prices
  • Cart/checkout totals
  • Shipping

Prices are displayed with the currency symbol, e.g., $10 and not 10 USD.

Example of a U.S. online store, but the cart displays currency conversion in EUR/€ 


Customers will still pay in your base currency. Prices are for display and informational purposes only.

Frequently Asked Questions

↑ Back to top

Missing currency symbol.

↑ Back to top

If you are converting prices to a non-WC-supported currency, you can add it and its symbol using the snippet at Add a Custom Currency Symbol.

Is it possible to display the widget somewhere other than the sidebar?

↑ Back to top

Yes, you can use the shortcode [woocommerce_currency_converter] in the location you wish. If working in the template files, you can use the do_shortcode function like so: echo do_shortcode( '[woocommerce_currency_converter] ' );

The following attributes are available to use in conjunction with the [woocommerce_currency_converter] shortcode.

Currency Converter Attributes

  • currency codes – defaults to USD and EUR (plus your shop’s default currency if it’s neither one of those), but any of the supported currency codes can be added in addition.
  • message – empty by default, but you can add text that will appear above the resulting currency widgets.
  • currency display – by default, the currencies display as a row of buttons. By setting this attribute to select , it displays a dropdown menu instead.
  • show_symbols – false (0) by default, can be changed to true (1).
  • show_reset – false (0) by default, can be changed to true (1).
  • disable_location – false (0) by default, can be changed to true (1).

To use additional attributes, you need to pass the values to the shortcode. Here’s the shortcode with all possible attributes, and how it will appear on the page as a result:

[woocommerce_currency_converter currency_codes="AUD, USD, GBP, EUR" message="Prefer to see prices in a different currency?" show_symbols=1 show_reset=1 currency_display="select" disable_location=1]
The Currency Conversion Widget that results from the shortcode and attributes above.
The Currency Conversion Widget that results from the shortcode and attributes above.

Slow page loads/no rates pulled in/conversion not working.

↑ Back to top

Ensure that your server firewall is not blocking requests to the API. The IP address for the service is

Shipping options not converting.

↑ Back to top

The Currency Converter Widget can only convert shipping prices if they are displayed using radio buttons – not dropdown menus.

Using country flags instead of country codes.

↑ Back to top

Flags can be used instead of codes using this code snippet.

Note: We are unable to provide support for customizations under our Support Policy. If you are unfamiliar with code/templates and resolving potential conflicts, select a WooExpert or Developer for assistance.
a[data-currencycode="USD"] {
background-image: url('http://upload.wikimedia.org/wikipedia/en/a/a4/Flag_of_the_United_States.svg') !important;
background-size: 60px !important;
width: 30px;
background-repeat: no-repeat;
font-size: 0;
height: 20px;

Why is the conversion not working for the Cart and Checkout Pages?

↑ Back to top

The shortcode [woocommerce_currency_converter] must be added to both the cart and checkout pages for the conversion to work:

Keep in mind that only the default USD and EUR can be displayed with the shortcode ‘as is.’ You will need to add more currency codes to the shortcode if you would like them to display (see “Is it possible to display the widget somewhere other than the sidebar?” section for more details).

Privacy Policy

↑ Back to top

Check the Privacy Policy of this extension.

Questions and Support

↑ Back to top

Something missing from this documentation? Do you still have questions and need assistance?

  • Have a question before you buy this extension? Please fill out this pre-sales form – please include the name of this extension in your query.
  • Already purchased and need some assistance? Get in touch with a Happiness Engineer via the WooCommerce.com Support page and choose this extension name from the “I need help with” dropdown