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.
Tagged: Go Global Application, Not WPML issue
This topic contains 7 replies, has 2 voices.
Last updated by Eran Helzer 1 year, 11 months ago.
Assisted by: Eran Helzer.
Author | Posts |
---|---|
July 16, 2023 at 7:13 am #14043777 | |
malkaS |
When I switch currency, it's not working properly (only at safari, desktop and mobile). It somehow works consistently at chrome. This doesn't seem to help: add_filter('wcml_is_cache_enabled_for_switching_currency', function($cache_enabled) { |
July 16, 2023 at 12:04 pm #14044403 | |
malkaS |
ok, it seems at chrome it's the same issue. I've disabled the cache meanwhile, and it's working fine. But it's not a good solution... |
July 17, 2023 at 10:46 am #14048357 | |
Eran Helzer Supporter
Languages: English (English ) Hebrew (עברית ) Timezone: Asia/Jerusalem (GMT+03:00) |
Hi, When you say "it's not working properly", can you elaborate on what you mean? Also, I would like to point out you do not meet WPML's minimum requirements: |
July 17, 2023 at 11:46 am #14048921 | |
malkaS |
changed limit to 256mb Now it's very simple: go to any product page (hidden link), change currency, and it won't work. If it does work, go to shop page, and you'll see previous currency. From shop page get to same product, and currency will be wrong. So when cache catches something, currency isn't updated anymore. As admin everything will work, as it's probably not cached anyway. |
July 17, 2023 at 12:27 pm #14049387 | |
Eran Helzer Supporter
Languages: English (English ) Hebrew (עברית ) Timezone: Asia/Jerusalem (GMT+03:00) |
Okay, I understand. What I see is this: By the way, the currency is defined in the URL param wcmlc, so I do not think this is related to cache at all. To conclude, there seem to be two issues here: I would like to request admin access to your site, in order to see if I can solve this issue quickly. I have set your next reply to be private so you can share credentials there. |
July 17, 2023 at 1:41 pm #14050195 | |
Eran Helzer Supporter
Languages: English (English ) Hebrew (עברית ) Timezone: Asia/Jerusalem (GMT+03:00) |
Okay, I was mistaken before. It seems like this issue has occurred in the past for the same reason and with the same result. I have found the following errata, which is marked as resolved, but I see the solution here is to exclude the pages that use multicurrency: Then I found the following, from some time ago, but still the same setup: And finally, I found this, which could be a possible solution: I suggest we try changing the cache plugin to one of the recommended, officially compatible ones from our directory here: Alternatively, we can try the solution of adding the custom cookie, and then excluding the cookie from the cache, so we have the same page cached separately for each currency. |
July 18, 2023 at 11:51 am #14058987 | |
malkaS |
I've sent it to breeze support. They promised to fix, let's see... |
July 18, 2023 at 12:17 pm #14059067 | |
Eran Helzer Supporter
Languages: English (English ) Hebrew (עברית ) Timezone: Asia/Jerusalem (GMT+03:00) |
Okay, I am setting this ticket to close in two weeks. If you want to extend it, add a reply saying so. I would also recommend you ask them to join our Go Global program and become officially compatible with WPML: Please update me when you have news. |