跳到内容

Baxtersweb Currency Switcher – Display Prices in Multiple Currencies

v0.4.4

Baxter Jones · 2026年8月1日 上架

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

正在使用
10+
评分
暂无
累计下载
503
最近更新
2026年11月16日
需要 WordPress 6.4+已测试到 7.1.5PHP 7.4+

贡献者

截图

Currency switcher with converted prices displayed on the frontend.
Currency switcher with converted prices displayed on the frontend.
WooCommerce products displaying prices in the visitor-selected currency.
WooCommerce products displaying prices in the visitor-selected currency.
Currency switching used for prices outside WooCommerce.
Currency switching used for prices outside WooCommerce.
Currency Switcher setup in the WordPress admin.
Currency Switcher setup in the WordPress admin.
Tools for checking implementation and updating exchange rates.
Tools for checking implementation and updating exchange rates.

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.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums