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 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 - -
- - - - - - -

Supporter timezone: Africa/Cairo (GMT+03:00)

This topic contains 6 replies, has 2 voices.

Last updated by Osama Mersal 1 year ago.

Assisted by: Osama Mersal.

Author Posts
May 15, 2024 at 8:50 am #15628550

caryY

I use WooCommerce Multilingual & Multicurrency Plugin and WPML plugin together.
I set up the Multicurrency like setting in the attachment image, and set up the language switcher like the setting in the attachment image.

But now the Currency Switch doesn't work. Currency will change only when the language changes.
Does it work correctly?

In my mind, I set up all currencies available for each language, so I think the currency should be able to switch anytime, am I correct?

2024-05-15T08-33-43.114Z.png
2024-05-15T08-37-44.933Z.png
2024-05-15T08-36-17.312Z.png
QQ20240515164131.png
May 15, 2024 at 8:53 am #15628613

caryY

I also notice that when I login admin and access to the front end, the currency switch can work although I don't change the language, but when I log-out and access to the front end as guest, the currency switch doesn't work, currency only change when language changes.

May 15, 2024 at 10:02 am #15629100

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

Thanks for contacting WPML forums support. I'll be glad to help you today.

Could you please check if the issue persists in a minimal environment by following these steps?

1- Deactivate all the plugins except WPML CMS, String Translation, WooCommerce, and WooCommerce Multilingual.
2- Switch for a moment to a WordPress default theme like Twenty Twenty-one.

If the issue is gone, activate them one by one to see which one is causing an interaction issue.

❌ Please backup your database before performing the above test ❌

Best regards,
Osama

May 16, 2024 at 2:38 am #15632606

caryY

Hello Osama,

Thank you for your prompt response.

I do following your guide and find that the problem cause by the Cloudflare APO.
I disable it and Currency Switch work normally now.
I guess the problem I met is same to this case before:
https://wpml.org/forums/topic/currency-switcher-is-not-working-properly-after-adding-cloudflare-cdn/

So sad that Cloudflare APO is not compatible with WPML Multi-currency.

Best Regard
Cary

May 16, 2024 at 6:16 am #15632983

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi Cary,

Unfortunately, the CloudFlare plugin is not officially compatible with WPML, so please try the workarounds mentioned in the ticket you shared.

If the workarounds didn't work, please disable CloudFlare cache.

Best regards,
Osama

May 16, 2024 at 6:41 am #15633051

caryY

Is there any CDN compatible well with WPML by your team's testing?

May 16, 2024 at 6:44 am #15633056

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

If you need the CDN for caching. Here are our compatible caching plugins. (https://wpml.org/plugin/?wpv_view_count=120064&wpv-plugin-functionality=caching&wpv_post_search=&wpv-wpcf-recommendation-flag=1&wpv_filter_submit=Search)

Best regards,
Osama

The topic ‘[Closed] Currency Switcher Doesn't Work, Currency Only Changed When Switch Language’ is closed to new replies.