Dprime Woo Currency Switcher v1.1.0 WooCommerce

Multi-currency switcher with manual exchange rates. Customers browse and checkout in their preferred currency. Prices, shipping, and coupons all converted.

Installation

  1. Install and activate WooCommerce. Set your base currency in WooCommerce > Settings > General.
  2. Install and activate Dprime Woo Currency Switcher. Your base currency is added automatically.
  3. Go to Dprime > Currency Switcher and add the currencies you want to support.
  4. Place the switcher using the shortcode or widget.

Adding currencies

On the Currencies tab, click Add Currency. Each currency needs:

FieldPurpose
Currency codeISO 4217 code e.g. USD, EUR, GBP
Exchange rateRate relative to your WooCommerce base currency. If your base is AUD and 1 AUD = 0.64 USD, enter 0.64 for USD.
Decimal placesHow many decimal places to show for prices
Symbol positionBefore or after the amount, with or without a space
Thousands separatorCharacter between thousands groups
Decimal separatorCharacter before decimal digits
Rounding modeNone, up, down, or nearest. For nearest, set the rounding value (e.g. 0.50 rounds to nearest 50 cents).
Default currency: The first enabled currency matching your WooCommerce base currency is treated as the default (exchange rate 1). All other rates are relative to it.

Placing the switcher

MethodHow
ShortcodeDrop [dp_currency_switcher] into any page, post, or page builder element
WidgetAdd the Dprime Currency Switcher widget in Appearance > Widgets or your theme's widget areas
URL parameterLink to any page with ?currency=EUR appended. The customer switches immediately and the cookie is set.

The switcher dropdown can show flags, currency codes, and symbols. All three are toggleable in the Display tab.

Per-currency formatting

Each currency can be formatted independently. Common examples:

CurrencySymbolPositionThousands sepDecimal sep
USD$Before, no space,.
EUR (Germany)After, with space.,
GBP£Before, no space,.
JPY¥Before, no space,. (0 decimals)

What gets converted

  • Product prices — simple and variable products
  • Flat-rate shipping — shipping method costs
  • Fixed-amount coupons — percentage coupons are not converted (they apply to the already-converted total)
  • Cart and order totals
  • Order metadata — every order records the currency code and rate used at checkout

FAQ

Are exchange rates updated automatically?

No. Rates are manual. Update them in the Currencies tab whenever you need. This is intentional: no third-party API dependency, no live feed to go down.

How long does the customer's chosen currency persist?

30 days from their last selection, stored in a cookie. Returning visitors stay in their currency automatically.

Does this work with WooCommerce subscriptions or bookings?

Basic price conversion works. Complex pricing scenarios (recurring amounts, variable billing) may not fully convert. Test your specific setup before launching.

Override classes

.dp-cs-page              { /* admin page wrapper */ }
.dp-cs-currency-list     { /* currencies list */ }
.dp-cs-currency-row      { }
/* Frontend */
.dp-currency-switcher    { /* switcher wrapper */ }
.dp-currency-dropdown    { /* the select element */ }
.dp-currency-flag        { }
.dp-currency-code        { }
.dp-currency-symbol      { }