Hello, I have 4 languages and 3 currencies on my ebabo.sk page. For example, when I am in Slovak language and I add something to my cart and then I change the language, my cart is completely cleared. I have updated all plugins, checked the cart page to see if it is translated in all languages and even in the WooCommerce Multilingual & Multicurrency plugin settings I have enabled "Synchronize cart content when switching languages" but the error remains.
Thank you for contacting WPML support. While you are waiting for one of my colleagues to take this ticket and work on it, let me provide you with the first debugging steps and try to help with the issue quickly.
As our docs say depending on the additional complexity of your products, this might not work correctly so it is better to use the option to clear the cart.
This is why WooCommerce Multilingual allows you to decide what happens when users switch the language or the currency. Basically, if you notice that your product options and data is not synchronizing correctly when switching languages or currency, you should set the option to clear the cart contents when this happens.
Hi, even after changing the setting to "Prompt for a confirmation and reset the cart" my problem has not been solved and is still the same. For example, when I am in Slovak language and I add something to my cart and then change the language, I don't even get a popup with confirmation if I want to change the language, but it redirects me straight to another language and my cart is empty.
Languages: English (English )Portuguese (Brazil) (Português )
Timezone: America/Sao_Paulo (GMT-03:00)
Hello there,
I can see you're using the method 'a different domain per language' in WPML -> Language. Please return the option to 'synchronize cart content when switching languages'.
On the WPML -> Languages page, under the Language URL Format section, you can find the Pass session arguments between domains through the language switcher option. It synchronizes this session data among domains and languages.
Can you try changing these options to the 3 available, resave permalinks, clear the cache and try this again?
If it still doesn't work, just as a temporarily test, can you also try briefly changing to language in directories and see if it works now? Perhaps it is not only about domains, but maybe something else is not working.
Thank you, please let us know.
Mateus
The topic ‘[Closed] Remove items from cart after language change’ is closed to new replies.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.