Baxtersweb Currency Switcher – Display Prices in Multiple Currencies

By Baxter Jones

10+ active installationsVersion 0.4.4

Let visitors switch displayed WordPress and WooCommerce prices into multiple currencies while keeping original prices unchanged.

Description

Baxtersweb Currency Switcher lets visitors choose a familiar currency and see converted prices across WordPress or WooCommerce. Your original stored prices stay unchanged, and WooCommerce continues to use its configured store currency for cart, checkout, orders and payments.

It is designed for multi-currency price display without a full multi-currency checkout system and works with WooCommerce prices, custom fields, shortcodes, templates and dynamic JavaScript values.

Display multiple currencies without changing original prices

Visitors select a display currency using a frontend currency switcher. Supported prices update immediately without reloading the page or changing the visitor’s scroll position. Every switcher on the page stays synchronised, and the plugin remembers the selection in a browser cookie for later page views and reloads.

Prices added dynamically after the page loads, including supported WooCommerce and AJAX-rendered price markup, are updated to the active display currency automatically. On cached pages, the browser cookie is checked and supported prices are corrected to the visitor’s saved currency.

The plugin does not:

  • Rewrite stored product or custom-field prices
  • Change the WooCommerce store currency
  • Process payments in the selected display currency
  • Change cart, checkout, order or account values

WordPress and WooCommerce price sources

Choose the workflow that matches your site:

Custom price values — convert numeric ACF fields, standard WordPress post meta or supplied values using the shortcode.

WooCommerce product prices — automatically convert standard shop and product price displays while WooCommerce continues to transact in the store currency.

WooCommerce is optional. ACF is also optional.

Visitor currency switcher

Place the switcher anywhere shortcodes are supported:

[bxtr_currency_switcher]

Optional label:

[bxtr_currency_switcher label="Currency:"]

Display codes, symbols and locally bundled SVG flags, with Basic, Clean and Pill switcher styles that remain easy to override with theme CSS.

Exchange rates and price control

The plugin retrieves daily European Central Bank (ECB) reference rates and stores the latest successful rate set in WordPress.

For each enabled currency, configure its symbol, percentage adjustment, optional manual rate, rounding, decimals and visitor availability. You can also choose the default display currency, switcher format and converted-price format.

Convert custom prices with shortcodes

Configured field on the current post:

[bxtr_currency]

Specific field:

[bxtr_currency field="itinerary_price"]

Specific post:

[bxtr_currency id="123"]

Supplied numeric value:

[bxtr_currency value="2450"]

WooCommerce product price in a custom template:

[bxtr_currency source="woocommerce" id="123"]

Add surrounding text when needed:

[bxtr_currency value="2450" prefix="From " suffix=" per person"]

Compact currency selectors for custom prices

Display an ACF or WordPress custom-field price with a compact currency code and dropdown selector:

[bxtr_currency_code_hover field="itinerary_price"]

Use another field name when needed:

[bxtr_currency_code_hover field="itinerary_ice_price"]

A symbol-and-price variation is also available:

[bxtr_currency_symbol_hover field="itinerary_price"]

For a compact currency selector beside an existing price, use:

[bxtr_currency_hover]

For a converted price and compact selector together, use:

[bxtr_currency_price_hover field="itinerary_price"]

The compact selectors share the same chosen currency as [bxtr_currency_switcher] and update supported prices without a page reload. In post lists or custom templates, use the shortcode’s id attribute to specify a post ID when the correct post context is not inherited.

Filter Everything integration

Filter Everything budget checkbox and radio labels with supported ranges (500-2000, 2000-4000, 4000-6000, 6000-plus) can display converted amounts in the visitor’s selected currency. AJAX-rendered filters are supported. Filter values, links, counts and underlying prices remain unchanged; this feature converts the visible labels only.

JavaScript API for dynamic prices

Dynamic controls can use the same selected currency, rates, adjustments, rounding and formatting:

BXTRCurrency.convert(5000)

BXTRCurrency.format(5000)

BXTRCurrency.getCurrency()

BXTRCurrency.getConfig()

Useful for sliders, calculators and configurators where the underlying value remains in the site’s base currency.

WooCommerce display behaviour

Automatic WooCommerce conversion supports standard simple, sale and variable product price output on product and shop pages.

Cart, checkout, orders, payments and account pages remain in the WooCommerce store currency.

Some themes and builders bypass WooCommerce’s standard price output. In those cases, use the manual WooCommerce shortcode in the custom template.

Live Demo

View the live demo

Documentation

View the documentation

Support

For support, use the public support forum on WordPress.org.

External services

Baxtersweb Currency Switcher connects to the European Central Bank (ECB) to retrieve public daily reference exchange rates used for display conversion.

The plugin requests this fixed XML feed:

https://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml

The request is made from the WordPress website server when the plugin is activated, when an administrator selects Update rates now, and during the scheduled daily update when automatic updates are enabled.

The plugin does not add visitor details, WordPress user details, customer information, payment information, website content, selected currencies or custom query parameters to the request. Standard server connection information such as the requesting server’s IP address may be processed by the external service.

The returned public exchange-rate data and update timestamp are stored locally in WordPress. ECB reference rates are informational and may differ from commercial, card-provider or payment-gateway rates.

  • ECB reference-rate feed: https://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml
  • ECB disclaimer and copyright: https://www.ecb.europa.eu/services/using-our-site/disclaimer/html/index.en.html
  • ECB privacy statement: https://www.ecb.europa.eu/services/privacy/html/index.en.html

By enabling and using exchange-rate conversion, the website makes requests to this external ECB service under the ECB’s applicable terms and privacy information.

Installation

  1. Install and activate the plugin.
  2. Open Tools > Currency Switcher and choose the price source.
  3. Configure the base currency, visitor currencies and display settings.
  4. Add [bxtr_currency_switcher] for the switcher.
  5. Add [bxtr_currency] for custom values, or enable automatic WooCommerce price replacement.
  6. Test at least two currencies on the frontend.

FAQ

Does this change my original prices?

No. The plugin converts supported values for display. The original product price, custom-field value or supplied base value remains unchanged.

Does this change the WooCommerce checkout currency?

No. Cart, checkout, orders, payments and account pages continue to use the WooCommerce store currency.

Is this a full multi-currency checkout plugin?

No. It focuses on display conversion while the site keeps one base price and, when applicable, one WooCommerce transaction currency.

Is WooCommerce required?

No. You can convert direct numeric amounts, ACF fields or standard WordPress custom fields without WooCommerce.

Is ACF required?

No. If ACF is active, the plugin can retrieve values through ACF. Otherwise it can read the configured field from standard WordPress post meta.

Where do exchange rates come from?

The plugin retrieves the European Central Bank’s daily reference-rate XML feed and stores the last successful rates in WordPress.

Can I adjust the exchange rate?

Yes. Each currency can use a percentage adjustment, manual rate, rounding increment and chosen number of decimal places. A manual rate replaces the calculated ECB cross-rate for that currency before the configured percentage adjustment is applied.

What happens if the ECB feed is unavailable?

The plugin keeps using the last successfully stored rates. A failed update does not delete the previous rate set.

Why is a converted price not appearing?

Check that the source is numeric, the correct field or post ID is used, the target currency is enabled and valid rates are stored. The Tools tab also shows frontend detection status.

Why does a cached page show the previous currency?

The plugin checks the visitor’s saved currency in the browser and corrects supported plugin-generated prices after a cached page loads. If a theme, builder or third-party plugin outputs prices without the Baxtersweb Currency Switcher markup, exclude those pages from full-page caching or configure the cache to vary by the bxtr_cdc_currency cookie or display_currency query parameter.

Does the plugin remember the visitor’s currency?

Yes. The selected enabled currency code is stored in the bxtr_cdc_currency browser cookie for up to one year.

Does choosing a currency reload the page?

No. Supported plugin-generated prices and every currency switcher on the current page update immediately, so the visitor keeps the same scroll position. The saved cookie is then used on later page views and manual reloads.

Screenshots

Changelog

0.4.4

  • Fixed compact currency hover menus on itinerary cards so the dropdown remains hidden until activated and responds reliably to hovering and clicking.

0.4.3

  • Improved compact hover selector behaviour, including pointer transitions and focus handling.
  • Added a visible dropdown arrow to the header currency switcher, including styling for Avada themes.

0.4.2

  • Added support for Filter Everything budget checkbox labels and linked filter terms, including AJAX-rendered filters.
  • Converted visible budget ranges while keeping filter URLs, values and result counts unchanged.

0.4.1

  • Added compact price and currency-code hover shortcode variations for custom price fields.
  • Improved dropdown positioning, stacking and clipping, with better pointer and keyboard interaction.
  • Added per-price display-format options while preserving synchronised currency selection.

0.3.9

  • Added an inline price-plus-currency-selector shortcode.
  • Added dynamically converted labels for the four Filter Everything budget radio values while preserving the base-currency filter values.
  • Preserved instant synchronised currency changes and scroll position.

0.3.7

  • Changed frontend currency selection to update supported prices instantly without reloading the page or losing the visitor’s scroll position.
  • Kept every currency switcher on the page synchronised with the active selection.
  • Preserved the selected currency in the existing browser cookie for later page views and manual reloads.
  • Added browser-side correction for cached plugin-generated prices using the saved currency preference.
  • Added automatic conversion for supported price markup inserted dynamically after page load.
  • Preserved compatibility with the public query parameter and server-rendered conversion.

0.3.6

  • Renamed and repositioned the plugin as Currency Switcher with clearer display-only multi-currency messaging.
  • Added [bxtr_currency_switcher] as the standard currency switcher shortcode.
  • Standardised the admin header against the Baxtersweb brand and moved Version 0.3.6 beside the Help control.
  • Reworked the WordPress.org readme, tags, FAQ and feature hierarchy.
  • Shortened the WordPress admin page URL to tools.php?page=currency-switcher.
  • Reordered the switcher display settings for a clearer setup flow.
  • Kept existing plugin identifiers, stored settings and conversion behaviour unchanged.

0.3.5

  • Added a public frontend JavaScript API for converting and formatting dynamic numeric values.
  • Added BXTRCurrency.convert(), BXTRCurrency.format(), BXTRCurrency.getCurrency() and BXTRCurrency.getConfig().
  • Added a bxtr:currency-change browser event while preserving the existing selector reload behaviour.

0.3.4

  • Refined the admin interface and reorganised Setup, Tools and Settings.
  • Added Basic, Clean and Pill switcher styles with a live admin preview.
  • Improved the currency configuration table and Add Currency workflow.
  • Updated WordPress 7.1 compatibility information and resolved Plugin Check findings.

Compact hover selector (0.3.9)

Use [bxtr_currency_hover] immediately after an existing displayed price, or [bxtr_currency_price_hover field=”itinerary_price”] for a converted ACF price plus the compact hover control.