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?
Languages: English (English )Spanish (Español )Italian (Italiano )
Timezone: Europe/Madrid (GMT+02: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.
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.