Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
If you're experiencing an issue where bundled products added to the cart show a price of $0 after switching languages, this is a known behavior with complex products using the WPC Product Bundles for WooCommerce plugin.
Solution:
We recommend disabling cart item synchronization between languages. You can do this by following the steps in our documentation:

This action prevents issues that arise when complex product options and data do not synchronize correctly after a language or currency switch.

If this solution does not seem relevant to your situation, please open a new support ticket with us for further assistance.

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.

This topic contains 1 reply, has 2 voices.

Last updated by Dražen 1 year ago.

Assisted by: Dražen.

Author Posts
December 16, 2023 at 2:09 pm #15077433

vanusap

I noticed a bug: if a user adds bundled products to his cart and switches to another language, the item stays in the cart but it shows the price of $0. It only happens with bundles, not with single products.

Once the user has made 1 language switch, they can switch back and forth between languages and the bundled products previously added to the cart always show up with price of $0 in the cart.

I use the plugin WPC Product Bundles for WooCommerce to offer bundles.

Screenshot 2023-12-16 at 7.58.30.png
Screenshot 2023-12-16 at 8.07.54.png
December 19, 2023 at 7:18 am #15088905

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+01:00)

Hello,

thanks for contacting us.

It is kind of expected that the things with the complex product do not work correctly when switching carts, so you should set it to not sync cart items between languages, please check the next docs:

- https://wpml.org/documentation/related-projects/woocommerce-multilingual/clearing-cart-contents-when-language-or-currency-change/


Sometimes, the products in your site might come with multiple complex options like table-rate shipping, or can be of a specific product type like subscriptions or bookings. This allows for a very complex combination of products and their options, all of which are crucial for the final checkout process. Sometimes, synchronizing all these options when customers switch language or currency does not work correctly.

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.

Regards,
Drazen

December 19, 2023 at 4:09 pm #15094977

vanusap

Thank you! I made the change as suggested and everything is working.