[Resolved] Split: Conflict with WooCommerce bookings
This thread is resolved. Here is a description of the problem and solution.
Problem: The client is experiencing an issue where, in the original language (Spanish), the booking system allows booking more slots than available, despite the system working correctly in a translated language (Euskera). Solution: We recommend the following steps to address the issue: 1. Create a full site backup. 2. Navigate to
4. Save the changes. 5. Ensure that the bookable product is duplicated or translated to all languages. If this solution does not resolve the issue or seems outdated, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, please open a new support ticket.
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.
Yes, sorry about that. Both the 5.50 version and the workaround work for the first mentioned problem which is counting people as reservations.
But now we face a different issue, in one of the languages, although counting people as reservations correctly, i can still book more than the maximum slots availability.
As you can see in the screenshot the available slots are 10, and I'm able to put 12 and continue the reservation.
If you want i can try to reproduce this in the sandbox
Hello,
My name is Carlos and I will continue working on this ticket
I have reproduced the issue and applied the workaround described in the erratum page, but the issue persists, and the calendar is not loading the available dates in EU. I have escalated this ticket to our 2nd tier of support so our specialists can take a deeper look at this issue.
I'll get back to you as soon as I get more information.
Hi,
Everything works correctly in the sandbox, i cannot reproduce the error, but i still have it on my site, where only 1 spot is left, I'm allowed to book as many as i want..
Please follow these steps:
- Create a full site backup
- Edit the file /wp-content/plugins/woocommerce-multilingual/compatibility/WcBookings/class-wcml-bookings.php
- Comment the line:
Hey, we did as you said, but unfortunately is still not working correctly.
As said before, in the translated language (euskera) you can see it work correctly, but in the original (Spanish) it still let's me book more that the available spots.
So, the issue happens only in the default language (Spanish). WPML plugins make no changes to the content or configuration in the default language. I kindly ask you to deactivate the WPML plugins and check if the problem in the Spanish bookable product persists.