Currency

Base currency

WooCommerce allows only one base currency.

To set the currency for your store, go to WooCommerce > Settings > General > Currency Options.

Target websites may have prices in a different currency from your store's currency. If you import products as simple products, the plugin will try to convert prices to the default currency.

For External/Affiliate products, you can either convert prices or keep the original currency. For settings, go to External Importer > Settings > Import > Currency.

Selecting 'Add original' does not make your website multicurrency. This option only replaces the currency symbol on the frontend of your WooCommerce catalog. Since external products can't be added to the cart, this is usually sufficient.

Automatic exchange rates

To convert currencies, External Importer will use European Central Bank exchange rates. This service doesn't require sign-up, but the set of currencies for which rates are provided is limited. If the desired currency is not listed, you can use Fixer.io as an alternative.

Fixer API has a free plan, but you have to sign up to get your own API access key.

To set your key, go to External Importer > Settings > General > Fixer API key.

You can set the exchange rate manually. Add the following code to functions.php of your theme or child theme:

function my_ei_currency_rate ($rate, $from, $to)
{
    if ($from == 'USD' && $to == 'KES')
        return 100.15; // <--- rate
    if ($from == 'KES' && $to == 'USD')
        return 0.01; // <--- rate
}
add_filter( 'ei_currency_rate', 'my_ei_currency_rate', 0, 3 );

How to change the currency when extracting products

Some target websites display prices in different currencies based on the visitor's IP address (in this case, your server IP). For example, if your server is located in the United States, prices will usually appear in USD. However, many sites also allow you to manually set the currency in their settings.

To extract prices in a specific currency:

  1. Visit the target website and manually set your desired currency and language.

  2. Follow the Custom Cookies Guide to capture and apply the cookie settings.

This ensures that all requests are made with the appropriate currency preferences.

Some Chinese online marketplaces (such as bangproduct.com, geekbuying.com, and gearbest.com) also support changing the currency via the address bar. To do this, add the currency=EUR parameter to the product URL.

Last updated

Was this helpful?