Skip to content Skip to sidebar

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

Problem:
The client is creating a bookable virtual product with selectable resources and custom people enabled, where each person counts as a reservation. With WCML active, after booking a resource for fewer people than the resource's total availability, the resource becomes unavailable for that day if more than one resource is selected.
Solution:
We recommend updating WPML, Strings Translation, and WooCommerce Multilingual & Multicurrency to the latest versions as this resolved the issue in a similar case. Please check if the updates solve the problem on your site. If the issue persists, we suggest recording the steps you took using a screencast service like Komodo and sharing it with us for further investigation.

Please note that this solution might be irrelevant if it's outdated or not applicable to your specific case. 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 continues, please open a new support ticket for personalized 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.

Tagged: 

This topic contains 8 replies, has 2 voices.

Last updated by Angeloca 1 week, 1 day ago.

Assisted by: Itamar.

Author Posts
August 13, 2025 at 2:16 pm #17318007

Angeloca

Background of the issue:
I'm creating a bookable virtual product with a fixed timeslot (day), resources selectable by users, and people with custom people enabled. I'm multiplying prices for the number of people, and each person counts as a reservation. I have a production website where the issue is occurring, but I'm submitting the debug info for a local website with the default theme and no other plugins active.

Symptoms:
With WCML active, after booking a resource, even for fewer people than the resource availability, the resource becomes unavailable for that day. It only happens if I select more than one resource.

Questions:
Why does the resource become unavailable with WCML active even when the number of people is less than the total resource availability?

August 15, 2025 at 2:35 pm #17323901

Lauren
WPML Supporter since 10/2015

Languages: English (English )

Timezone: America/New_York (GMT-04:00)

Thank you for contacting WPML support. While you are waiting for one of my colleagues to take this ticket and work on it, let me provide you with first debugging steps or if I can perhaps help with the issue quickly. Can you confirm that this issue is only happening with WoOCommerce Multlingual active?

Also, is this only happening if you are trying to book the product in the second language, or is this happening in all languages?

August 18, 2025 at 6:03 am #17326103

Angeloca

Hi, yes it's happening only when WCML is active, and it happens both on primary and secondary language(s)

August 18, 2025 at 2:31 pm #17328239

Nigel
WPML Supporter since 02/2016

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

Hi there

It sounds like you may be affected by an existing issue which is described here: https://wpml.org/errata/woocommerce-bookings-availability-wrong-when-more-than-one-person-is-booked/

Could you check the workaround offered there, or try installing the beta of WCML available from the Beta channel of your account downloads page, which should have a fix.

If that doesn't help then it seems like your issue may be distinct and we will have to review that specifically. In which case we will likely need access to your site and may need to take a copy. To expedite that, let me set a private reply for you to share credentials in case that is needed.

August 18, 2025 at 4:34 pm #17328830

Itamar
WPML Supporter since 02/2016

Languages: English (English )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi,

I'll continue to help you with this issue.

Please let me know if my colleague's suggestion to apply the workaround from the errata fixed the issue on your site.

https://wpml.org/errata/woocommerce-bookings-availability-wrong-when-more-than-one-person-is-booked/

Otherwise, if you need further help with this, please share the access details to your site with me. I'm enabling a private message for the following reply.

Privacy and Security Policy
We have strict policies regarding privacy and access to your information. Please see:
https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/
**IMPORTANT**
- - Please back up the site files and database before providing us access. --
-- If you have a staging site where the problem can be reproduced, it is better to share access to the staging site.--

Regards,
Itamar.

August 19, 2025 at 2:39 pm #17331820

Angeloca

I'm going to setup a basic staging enviroment, because the issue is not resolved yet event with the errata (it allows you to make 2 bookings, but then the resource become unavailable again) also with just WC/WCML/WCBookings and base theme active

August 21, 2025 at 2:08 pm #17337922

Itamar
WPML Supporter since 02/2016

Languages: English (English )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi,

OK, that would be the best path to take to investigate this issue further.
If you need an environment, here is one you can use:
hidden link

Regards,
Itamar.

August 21, 2025 at 3:14 pm #17338124

Angeloca

Hi Itamar, thanks 🙂
hidden link

As you can see here, if you book more than 2 people, for 2 consecutive times, the day becomes unavailable (resource availability is 10).

August 27, 2025 at 11:05 am #17351563

Itamar
WPML Supporter since 02/2016

Languages: English (English )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi,

I apologize for the delayed response.

Thanks for reproducing the problem on the sandbox site. However, I can not reproduce it now. I used the Test Booking product to order more than one person (fewer than the 10 persons defined in the resource). Before trying this, I've updated WPML, Strings Translation, and WooCommerce Multilingual & Multicurrency to their latest versions (the new versions we released yesterday). Maybe this is what solved the issue. Please see the video I recorded while trying this.

hidden link

Have I missed a step or settings?
If so, please clearly specify what I have missed and what precisely the steps are that I need to take to make the problem occur?

It would be great if you could add a video. You can use the free online screencast service Komodo - hidden link.

Regards,
Itamar.

August 29, 2025 at 8:11 am #17357029

Angeloca

Hi, it seems that the latest WCML update fixed the issue 🙂