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
- Install and activate WooCommerce. Set your base currency in WooCommerce > Settings > General.
- Install and activate Dprime Woo Currency Switcher. Your base currency is added automatically.
- Go to Dprime > Currency Switcher and add the currencies you want to support.
- Place the switcher using the shortcode or widget.
Adding currencies
On the Currencies tab, click Add Currency. Each currency needs:
| Field | Purpose |
|---|---|
| Currency code | ISO 4217 code e.g. USD, EUR, GBP |
| Exchange rate | Rate relative to your WooCommerce base currency. If your base is AUD and 1 AUD = 0.64 USD, enter 0.64 for USD. |
| Decimal places | How many decimal places to show for prices |
| Symbol position | Before or after the amount, with or without a space |
| Thousands separator | Character between thousands groups |
| Decimal separator | Character before decimal digits |
| Rounding mode | None, up, down, or nearest. For nearest, set the rounding value (e.g. 0.50 rounds to nearest 50 cents). |
Placing the switcher
| Method | How |
|---|---|
| Shortcode | Drop [dp_currency_switcher] into any page, post, or page builder element |
| Widget | Add the Dprime Currency Switcher widget in Appearance > Widgets or your theme's widget areas |
| URL parameter | Link 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:
| Currency | Symbol | Position | Thousands sep | Decimal 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 { }