Currency Switcher for WooCommerce WordPress plugin extends WooCommerce by adding currency switcher to your shop’s frontend. This is an extended version of free Currency Switcher for WooCommerce plugin.
- Automatic currency exchange rates updates.
- Prices on per product basis.
- Currency by country (i.e. customer’s IP).
- Currency by language (i.e. locale).
- Option to revert to original currency on checkout.
- Various currency switcher placement options.
- Price format options for each currency.
- Option to add country flags in currency switchers.
Plugin settings are located in “WooCommerce > Settings > Currency Switcher”. Plugin has seven settings sections:
First option in General setting section lets you enable/disable the plugin functionality. It may be helpful if you want to fill plugin’s settings without affecting your site’s frontend.
Next option lets you turn on per product pricing. After enabling the checkbox, new settings will be added to each product’s edit page. There you can set price directly for each product without using exchange rates.
If you need to revert to default currency on checkout, you can enable it here. That is, currency switcher will work as usual, until your customer reaches the checkout page, then currency will be changed back to you shop’s default. This is helpful if you want to display prices in different currencies, but need to charge customer in single currency only (for example, because of limitations of your payment gateway).
General section will also let you select if you want switcher to be placed on single product pages. You can choose between three different switcher looks – radio buttons, select dropdown or links. To put the currency switcher on frontend you can also use switcher widget, shortcodes or functions. Shortcodes:
Corresponding switchers will look like this:
Next option lets you set rounding options. You can choose between no rounding, round, round up and round down. If rounding is enabled, you can also set rounding precision here.
Last option allows you to disable currency switcher functionality on some selected URI. Enter one URI per line. Leave blank if not sure.
Currencies settings section lets you select which currencies you want to be in switcher. This is the settings section you should visit first. Shop’s default currency is added to switcher automatically, so you don’t need to select it. Number of additional currencies is limited to 2 additional currencies in free version (so 3 total with shop’s default currency) and is unlimited in Pro version. After you change the number of additional currencies, click Save changes button. After that new settings fields will appear, in which you can select which additional currencies to add. If, for example, you select 4 additional currencies, then your switcher will consist of 5 currencies total, that is, your shop’s default plus 4 additional currencies. If some currencies are missing from the list, we suggest using All Currencies for WooCommerce plugin.
In Pro version we’ve added Auto Generate PayPal Supported Currencies button, which will automatically add all 25 currencies supported by PayPal payment gateway (this number will be 24 if your shop’s default currency is supported by PayPal).
In exchange rates section you can set exchange rates and (optionally) time when the rates should be updated. You can choose between:
- Enter Rates Manually
- Update Automatically Every Minute
- Update Automatically Hourly
- Update Automatically Twice Daily
- Update Automatically Daily
- Update Automatically Weekly
If you have enabled Currency Switcher on per Product Basis in General section, products which have their pricing set on per product basis won’t use exchange rates. So if, for example, you are going to use per product pricing for all your products, you can leave exchange rates values set to default 1.
You can also Update All Exchange Rates Now or Reset All Rates with single button click.
Near each currency pair there is also button to grab current exchange rate for the pair. Don’t forget to Save changes if you click this button.
Exchange rates can be updated from Yahoo.com or European Central Bank servers.
Currency Countries (by IP) section lets you display currency by customer’s country. Customer’s country is calculated by customer’s IP. That is, if new customer visits your shop from some country, corresponding currency is automatically selected. If you won’t display currency switcher on frontend, then your customer won’t be able to change the currency manually, so this Currency Switcher for WooCommerce plugin can be used as “price and currency by country” plugin.
You can also Auto Assign Countries or Reset Countries with single button click.
Currency Languages (Locales) section allows you to assign currencies based on customer’s language (i.e. locale). This can be very helpful if you have a multilingual WordPress site and using some additional plugin for this (e.g. Polylang).
You can use this in two modes: restrict currency by customer’s language, or assign currency by language only once, then allow customer to change currency via switcher. This can be changed with Always Use Locale to Assign Currency checkbox. If you restrict currency by customer’s language (checkbox enabled), then currency can be changed via language switcher (e.g. from Polylang plugin) and there is no need to output currency switcher at frontend.
With Enter Locales as Comma Separated Text checkbox you can choose if you want to select languages from our list, or enter it directly, e.g.
en_CA,fr_CA. Don’t forget to save changes after you set this option, to see different input fields.
Same as in Countries section, you can also Auto Assign Locales or Reset Locales with single button click.
Price Formats section allows you to set different price formats for each currency. Price formats include:
- Currency position
- Additional currency code position (optional)
- Thousand separator
- Decimal separator
- Number of decimals
- Currency Symbol
Country Flags section allows you to display country flags in all types of currency switchers on frontend. Flags are assigned automatically for each currency, however you can change which country flag should be displayed for each currency manually.
In addition to three currency switcher shortcodes described earlier, there are two more shortcodes that are designed to display product prices in converted currencies.
[woocommerce_currency_switcher_product_price_table] shortcode will display product price table in all available currencies:
[woocommerce_currency_switcher_convert_price] shortcode allows you to convert any price to selected currency. This can be used in two ways:
Calculate price in current (i.e. chosen by user) currency:
[woocommerce_currency_switcher_convert_price price="1.99" format_price="yes"]
Calculate price in selected currency:
[woocommerce_currency_switcher_convert_price price="1.99" currency="AUD" format_price="yes"]
If you prefer PHP function:
echo alg_convert_price( array( 'price' => 1.99, 'currency' => 'AUD', 'format_price' => 'yes' ) );
alg_currencyto the address, e.g.:
Free vs Pro
|Free Version||Pro Version|
|Switcher Placement and Format Options|
|Revert Currency to Default on Checkout|
|Exchange Rates Final Price Correction|
|Currency Conversion for Fixed Amount Coupon|
|Currency Conversion for Free Shipping Minimum Order Amount|
|Prices on per Product Basis|
|Prices via Automatic Exchange Rates|
|Currency Countries (by IP)|
|Currency Languages (Locales)|
|Price Formats & Currency Symbols|
|Currencies||Maximum 3 currencies (including shop’s default)||Unlimited|