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.

Author Posts
June 13, 2018 at 9:08 am #2410501


I have the same problem, can i have the modified version as well?

June 13, 2018 at 3:57 pm #2411592


I have relpaced the fixed file but the problem still remail when I switch language (from IT to EN)

June 14, 2018 at 6:25 am #2412548


I can confirm the issue mircoR describes.

Any product gets removed from cart when switching languages, after updating to the latest version. This used to work with any earlier versions.

June 14, 2018 at 7:53 am #2412753


@Bigul, the fix worked on my site. Thanks a lot!!!

June 14, 2018 at 2:36 pm #2413690


Can I get the updated file as well? Same issue here.

June 15, 2018 at 7:18 am #2414885


Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)


We have released a new version of WooCommerce Multilingual(4.3) now. Please upgrade to the latest version after a full site backup and check the issue is existing or not.

@johanv-3, I have tried with the latest version WooCommerce Multilingual and WPML 4.0.3 RC1 on your DEV site and it is working as expected for me. Please check the attached images for more details.



July 11, 2018 at 11:56 am #2486544


Bigul, thanks!! No issues anymore since the update!

September 11, 2018 at 8:08 pm #2725159

Jerzy Afanasjew

problem is still persisting.

I am trying to:

Add product variants to cart with a translated version of my site using:

- WPML Multilingual CMS 4.0.7-b.1 (same issue on stable)
- WooCommerce Multilingual 4.3.6-b.1 (same issue on stable)
- WPML Translation Management 2.6.7-b.1 (same issue on stable)
- WooCommerce 3.4.5

Link to a page where the issue can be seen:

hidden link

I expected to see:

Product with selected variant added to cart, one after another, not one instead of another.

Instead, I got:

whenever I switch the page to any other in the shop after adding to cart, the product gets removed and I get the following error: "[name of the product] has been removed from your cart because it has since been modified. You can add it back to your cart here."

I have pinpointed the error to the WPML Translation Management plugin, if that one is disabled the issue doesn't appear, however also currency is not translated and other issues appear. I have flushed cache numerous times and applied sync variants and products from Troubleshooting tools.
I have verified the theme does not impact the issue. No luck.

How to fix it?

September 12, 2018 at 5:15 am #2726117

Jerzy Afanasjew

The problem (cart emptying itself) only appears to users who are not logged in, does this make any sense?

September 12, 2018 at 9:16 am #2726918

Jerzy Afanasjew

I seem to have found a temporary fix, following this

I changed "switching language" setting to "Prompt for a confirmation and reset the cart". There is no prompt at all displayed which makes me pretty sure the error is still there, but I can't find it while trying to debug the code. For now shopping seems to work in both languages so that's important, but maybe someone from support could take a look at an actual fix?

Thank you

November 7, 2018 at 5:35 pm #2886751


Hi, I have the same problem. Can I solve it?

This is my configuration:

WordPress 4.9.8
WooCommerce 3.5.1
WooCommerce Multilingual 4.3.7
WPML Media 2.3.8
WPML Multilingual CMS 4.0.8
WPML String Translation 2.8.8
WPML Translation Management 2.6.8