Skip Navigation

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Sun Mon Tue Wed Thu Fri Sat
9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 - -
14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 - -

Supporter timezone: Asia/Jerusalem (GMT+02:00)

This topic contains 5 replies, has 2 voices.

Last updated by Itamar 3 months ago.

Assisted by: Itamar.

Author Posts
September 18, 2024 at 9:00 am #16191798

samR-16

Background of the issue:
Make sure that the currency stay the same throughour the site. Sometimes the price shows in Euro, and sometimes it shows in Swedish Krona.

I am currentcly in Sweden. On the front page, the price shows in Euro. When checking out, the price shows in Swedish kroner. The same occurs on my phone.

I want to make sure, that the prices work propperly.

Symptoms:
The currencies don't persist. They are a complete mix.

Questions:
How do I make sure that the currency stay the same throughout the page?

September 18, 2024 at 1:28 pm #16193313

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi,

What are your multicurrency settings?
(Please attach a screenshot of your multicurrency setting in WooCommerce -> WooCommerce Multilingual & Multicurrency-> Multicurrency tab.)

Have you selected the option to show the currencies based on the site's language or the user location?

Please read about it here.

https://wpml.org/documentation/related-projects/woocommerce-multilingual/multi-currency-support-woocommerce/#currencies-per-location

Regards,
Itamar.

September 20, 2024 at 8:19 am #16201584

samR-16

Hello Itamar,

I have attached a screenshot of the page you requested.

And yes, I have chosen the user's location to determine the shown currency with the use of a MaxMind Geolocation.

I am looking forward to your reply, and I am hopeful that you can help me solve the issue we have with our wesite.

Best regards,

Johan Grunwald
eCommerce-Specialist

Screenshot 2024-09-19 at 09.15.42.jpg
September 22, 2024 at 10:05 am #16205774

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi, and thanks for the screenshot.

I can see the issue on your site. The price is always shown in euros on the shop and the single product pages. However, it shows in the correct currency on the cart widget and the cart page. I tested this issue with my VPN service. Once, I connected from Sweden and once from the USA. Please see the attached screenshots.

We suspect a collision with the theme or another plugin might cause this problem. If possible, get your site into a minimum environment, switching to a default WordPress theme like TwentyTwenty-Four and having no plugins activated except WPML.

First, you must check if the problem persists when just the theme is switched to TwentyTwenty-Four (for example). If it persists, deactivate all plugins except WPML and its add-ons and WooCommerce without any extensions. Then, please check if the problem persists. If it does not continue, start by activating the plugins individually and checking when the issue comes back, then report to me which plugin was the culprit.

**** Important! Please make a full site backup (files and DB) before you proceed with those steps****


*** If your site is live, you might want to try those procedures in a staging environment or a snapshot of your site on your local server or another server. ***

Regards,
Itamar.

2024-09-22_12-34-50.jpg
2024-09-22_12-42-08.jpg
September 23, 2024 at 2:09 pm #16210233

samR-16

Hello Itamar,
I have now tested my enviroment in staging. All plugins have been deactivated, except "Woocommerce" and the "WooCommerce Multilingual & Multicurrency" plugins.

I have also changed the theme to TwentyTwenty-Four.

Then, I have tested with a VPN from both the U.S., the Netherlands and Sweden.

The problem still persist. What I see now, is that on the /shop page, prices show in dollar. But on the products pages, the prices show in €.

I have cleared cache as well.

It very much seems like the problem occurs with WPML.

Best regards,
Johan Grunwald

September 24, 2024 at 11:40 am #16214346

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi, Johan.

A few questions arise out of this.

A. Are you checking this by being logged in or out?

B. Does the Maxmind GeoLocation API key work on your staging site?

C. Are you only using WooCommerce and WooCommerce Multilingual & Multicurrency without the rest of our plugins? (It's OK to use only those two plugins. I just need to know that.)

Please answer the above questions and, if possible, give me access to your staging site so I can see this problem.

If you need further help with this, please share the access details to your site with me. I'm enabling a private message for the following reply.
Privacy and Security Policy
We have strict policies regarding privacy and access to your information. Please see:
https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/
**IMPORTANT**
- - Please backup the site files and database before providing us access. --
-- If you have a staging site where the problem can be reproduced, it is better to share access to the staging site.--

Thanks,
Itamar.

The topic ‘[Closed] Multicurrency not working propperly’ is closed to new replies.