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

Unwanted language switch when changing currency

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.

Hello,

On our website, we are experiencing a long-going issue while managing your multiple currency plugin + multilingual plugin Weglot.

When a customer is browsing the website in a second language gaiastore.eu/en/, and uses the currency switcher, the currency will change, but so the language back to our original Czech at gaiastore.eu, and a customer needs to switch back to /en/. Then, it's working properly - right currency + right language. However, I want to know how to eliminate this issue so the currency switch won't change our website language to the original.

Our website is gaiastore.eu

Thank you for any feedback on this!

Jakub

Hello Jakub

Please paste your license key here - https://share.pluginus.net/image/i20230222134241.png -> https://share.pluginus.net/image/i20230222134511.png and  ftp+wp-admin access - https://share.pluginus.net/image/i20230222134615.png

Hello Pablo, it's done, you can review it.

Hello Jakub

Sorry for the delay. Please do a test.

Hello Pablo,

Thank you. The functionality is working now; however, it creates another issue. When the website is switched to ENG, the cart widget stays in Czech, so when customers clics on the button to enter the basket or checkout page, it will forward them back to the Czech version.

https://ibb.co/1JTLWH

Thank you for checking this.

 

Hello

In this case, you should write to the support of the author of this functionality.

All the changes I made were inside my plugin and cannot affect the translation plugin.

Hello,
Thank you for the info. I will contact the translation plugin service. What changes have you made inside your plugin so I can see what exactly is happening in case of any potential collision with other functionalities?

Hello

ok! Sure!

in file - plugins\woocommerce-currency-switcher\js\front.js - I changed this code  - https://share.pluginus.net/image/i20250623120656.png

Hello,
Thank you so much. All is fixed now. Keep doing the great job :)

Great! Welcome;)

Hello, is it possible that the edit you made is now making unrequested changes for product prices?

For example, we have set a price of 450 CZK for a product. When I switch to EUR - the price is approx. 18 EUR. All is great. However, I then went to the admin section, edited the product stock, and updated the product. The product value is now 18 instead of 450. Since there's no currency in the backend, it's saved in the original currency, CZK. The product price is now 18 CZK when I go to the front end. This has never happened before until now.

Please let me know your thoughts on this.
Best regards,

Hello

The changes I made only affect the formation of the GET request when you use the switcher.

So it just adds currency=XXX to the end of the URL . And that certainly can't cause this behavior.

Check what plugins you installed recently. Maybe product synchronization or caching