PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

Urgent help – currency switches to USD when changing language (GTranslate + FOX Currency Switcher)

The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page please
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

Hi,

we need assistance to fix a critical issue with currencies on our shop.

  • Website:

  • Platform: WordPress + WooCommerce

  • Multi‑currency plugin: FOX – Currency Switcher Professional (WOOCS), v. 2.4.3.1

  • Translation plugin: GTranslate (URL structure like /fr/, /de/, /it/ …)

What we want

  • Base / default language: English

  • Base currency: EUR

  • GeoIP rules in we have try all solution :

    • All EU countries (including France, Italy, Germany, etc.) → EUR

    • UK → GBP

    • Switzerland → CHF

    • Denmark → DKK

    • Czech Republic → CZK

    • Hungary → HUF

    • Poland → PLN

    • Sweden → SEK

  • Customer from France or Italy must see prices in EUR, even if they change the language with GTranslate.

What happens now

  1. When we first open the site, we correctly see prices in EUR.

  2. As soon as we switch the language with GTranslate (for example from English to Italian, German, French, etc.), the shop changes all prices to USD.

  3. GeoIP rules seem to be ignored after the language switch.

  4. We already tried:

    • Setting “Is multiple allowed = Yes” in FOX → Advanced.

    • Setting welcome currency to EUR.

    • Disabling all custom snippets that call $WOOCS->set_currency().

    • Clearing all caches (plugin + server + Cloudflare + varnish) and testing in incognito..

Our questions

  1. Is there any known conflict between FOX Currency Switcher and GTranslate when changing languages?

  2. How can we force FOX to keep the currency decided by GeoIP (EUR/GBP/CHF/…) when the user only changes language with GTranslate?

  3. Is there a recommended code snippet or setting (for example a hook in FOX) to “lock” the currency for the session and prevent it from being reset to USD on language change?

  4. Could you please indicate exactly which options in FOX (Options, Advanced, GeoIP, Payments) we should use in this scenario?

If needed, we can provide:

  • Admin access (staging),

  • Current FOX configuration screenshots,

  • List of active plugins.

Thank you in advance for your help,

Hello Tano

The issue maybe is that GTranslate resets the PHP session when switching languages, which clears WOOCS stored currency.

Solution:

1. WOOCS → Options: Set"Storage" = transient (not session)

2. WOOCS → Advanced: Enable "Checkout by GeoIP rules" = Yes - this ensures checkout always uses the correct currency from GeoIP rules, regardless of what's displayed

3. WOOCS → GeoIP: Configure your rules and set"Apply GeoIP" ="Once per session" 4. Clear all caches

This way, even if the display currency briefly shows USD after language switch, the checkout will always process in the correct currency (EUR/GBP/CHF) based on customer location.

The"Checkout by GeoIP rules" option is specifically designed for this scenario.

Also read: https://currency-switcher.com/switch-currency-with-language-change + https://currency-switcher.com/using-geolocation-causes-problems-doesnt-seem-to-work-for-me

 

Hi, thank you for your reply.

I carefully checked my WOOCS plugin settings, but unfortunately some of the options you mentioned are not available in my installation.

Here is my situation:

1) WOOCS → Options
I have already set “Storage” = Transient (not session). ✅ Done

2) WOOCS → Advanced
I do NOT see any option called “Checkout by GeoIP rules”.
This option is not present in my Advanced settings.

3) WOOCS → GeoIP
I do not see an option called “Apply GeoIP = Once per session”.
This setting is also not available in my GeoIP section.

Because of this, I am unable to apply the proposed solution as described.

My setup:
- WooCommerce
- GTranslate (subdirectory URLs, e.g. /it)
- WOOCS currency switcher
- Base currency: EUR

The issue is that when switching language (e.g. /it), the displayed currency changes to USD, even though the shop is EU-based and EUR should be used.

Could you please:
- Confirm if “Checkout by GeoIP rules” is available only in a specific WOOCS version or plan
- Indicate the exact menu path where these options should appear
- Suggest an alternative solution compatible with my current WOOCS version

Thank you for your support.
Best regards,