Skip to content Skip to sidebar

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

Problem:
You are using WooCommerce Bookings with WPML and encountering an issue where duplicated values in the cart affect booking calculations. Specifically, when booking a certain number of people in one language, the same booking is duplicated in other languages, incorrectly marking days as fully reserved.
Solution:
Our compatibility team has identified the issue and it has been escalated for further investigation. Currently, there is no direct workaround available. However, we have documented this issue in our errata page which you can check for updates: https://wpml.org/errata/woocommerce-bookings-max-bookings-per-block-not-working-correctly/.

If this solution does not apply to your case, or if it seems outdated, we highly recommend opening a new support ticket. Also, please check related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. For further assistance, you can contact us directly through our support forum.

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 19 replies, has 0 voices.

Last updated by Paola Mendiburu 3 months, 2 weeks ago.

Assisted by: Paola Mendiburu.

Author Posts
May 23, 2025 at 6:59 am

christosK-6

Background of the issue:
I am trying to use WooCommerce Bookings with WPML, but I encountered a problem with duplicates in my booking system. After contacting WooCommerce support, I found out that WPML causes duplicated values in the cart, affecting booking calculations. I tried changing settings in the WooCommerce Multilingual & Multicurrency tab, specifically setting 'Switching languages when there are items in the cart' and 'Switching currencies when there are items in the cart' to 'Prompt for a confirmation and reset the cart', but the issue persists. The issue can be seen on this page: hidden link

Symptoms:
The booking system creates duplicated values in the cart, causing issues in booking calculations. When I reserve 69 persons for a specific date and try to book the remaining 1 spot, the system incorrectly marks the day as fully reserved.

Questions:
How can I resolve the issue of duplicated values in the cart caused by WPML?
Why does disabling WPML make the booking system work correctly?

May 23, 2025 at 7:48 am #17064619

Paola Mendiburu
WPML Supporter since 11/2020

Languages: English (English ) Spanish (Español ) Italian (Italiano )

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

Please install WooCommerce Bookings plugins on the following site:
hidden link

Please let me know when it is installed so I can try to reproduce the problema.

Thanks.

May 23, 2025 at 7:50 am #17064637

christosK-6

WooCommerce Bookings is installed.

May 23, 2025 at 7:51 am #17064639

christosK-6

Want me to give you as well a zip with exported Bookable product with my exact settings so you can import it ?

May 23, 2025 at 4:26 pm #17067353

Paola Mendiburu
WPML Supporter since 11/2020

Languages: English (English ) Spanish (Español ) Italian (Italiano )

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

I cannot see the part of Persons of the booking.

Maybe there is a plugin missing.

May 26, 2025 at 6:18 am #17070928

christosK-6

No there isn't. It's just one plugin. Persons are contained in WooCommerce Bookings itself

May 26, 2025 at 6:25 am #17070935

christosK-6

As far as I can see in your sandox you haven't enabled the Has Persons option.
That's why you can't see it

weasdae.png
May 26, 2025 at 9:43 am #17072150

Paola Mendiburu
WPML Supporter since 11/2020

Languages: English (English ) Spanish (Español ) Italian (Italiano )

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

Ok thanks.

I have reproduced the problem and I will send it to the compatibility team.

May 27, 2025 at 6:15 am #17075709

christosK-6

Any updates so far?

May 28, 2025 at 2:57 pm #17084227

Paola Mendiburu
WPML Supporter since 11/2020

Languages: English (English ) Spanish (Español ) Italian (Italiano )

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

The issue is being escalated for the compatibility team.

I will let you know when I have some news.

May 29, 2025 at 11:23 am #17087737

Paola Mendiburu
WPML Supporter since 11/2020

Languages: English (English ) Spanish (Español ) Italian (Italiano )

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

Our second tier has identified the problem (when a booking is made it is duplicated to other languages with the same number of people, so if you book 20 people in English it will also create a booking for 20 people in Spanish for the same date.

The issue has been escalated to the compatibility team.
I will let you know when I have some news.

May 30, 2025 at 7:11 am #17090583

christosK-6

I knew that was the issue from the begining. The question is how it's going to be fixed...

May 30, 2025 at 3:05 pm #17092658

Paola Mendiburu
WPML Supporter since 11/2020

Languages: English (English ) Spanish (Español ) Italian (Italiano )

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

Our compatibility team is investigating the issue.

As soon as I have some news I will let you know.

June 4, 2025 at 9:27 am #17105537

christosK-6

Any updates?

June 4, 2025 at 11:40 am #17106145

Paola Mendiburu
WPML Supporter since 11/2020

Languages: English (English ) Spanish (Español ) Italian (Italiano )

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

We have delivered an errata but no workaround at the moment:
https://wpml.org/errata/woocommerce-bookings-max-bookings-per-block-not-working-correctly/

I will let you know when I have news.