Skip to content Skip to sidebar

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 33 replies, has 1 voice.

Last updated by Otto 1 week, 4 days ago.

Assisted by: Otto.

Author Posts
June 10, 2025 at 5:50 pm #17123217

Otto
WPML Supporter since 09/2015

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

Timezone: America/Argentina/Buenos_Aires (GMT-03:00)

Hello,

We will do our best to include a fix in WCML 5.5.0, but we cannot guarantee it at this point.

The priority of the issue has been raised.

Best Regards,
Otto

June 10, 2025 at 5:52 pm #17123222

Verbal

Thank you for the follow-up and having raised the priority Otto!

Regards,

June 10, 2025 at 7:07 pm #17123420

Otto
WPML Supporter since 09/2015

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

Timezone: America/Argentina/Buenos_Aires (GMT-03:00)

You are welcome 🙂

I'll keep you posted about the progress of our internal ticket.

Best Regards,
Otto

June 23, 2025 at 12:34 pm #17160305

Otto
WPML Supporter since 09/2015

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

Timezone: America/Argentina/Buenos_Aires (GMT-03:00)

Hello,

The fix should be released in WCML 5.5.0 (the next one).

Once it's there, please give it a try in a staging environment.

Best Regards,
Otto

June 25, 2025 at 12:51 pm #17169346

Verbal

Hello Otto,

WCML 5.5.0 has been released yesterday

While the new version successfully hides duplicates from the calendar view, it does not fix the availability.

(I see there's a new function fix_bookings_filter_time_slots_when_product_not_translated() applied to woocommerce_bookings_filter_time_slots, but availability is still incorrect.)

To reproduce:
- create a bookable product with max bookings per slot set to "2"
- book one slot
- that slot is now fully booked and cannot be booked by another customer (while there should be one available slot left)

June 25, 2025 at 1:17 pm #17169426

Otto
WPML Supporter since 09/2015

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

Timezone: America/Argentina/Buenos_Aires (GMT-03:00)

Hello,

Thanks.

I reported the issue to our dev team. I'll get back to you as soon as I get feedback from them.

Best Regards,
Otto

June 26, 2025 at 1:49 pm #17173978

Otto
WPML Supporter since 09/2015

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

Timezone: America/Argentina/Buenos_Aires (GMT-03:00)

Hello,

We are aiming to improve it in a hotfix (5.5.1). I can't promise we will manage, though.

Take into account that the "occupancy" results are cached, it's possible that they're from before the "update". Besides this, there is a problem, the fix will improve grouping "for a specific slot".

Best Regards,
Otto

June 26, 2025 at 1:59 pm #17174025

Verbal

Hello Otto,

I tested with "brand new" products and time slots. Cache is not the issue.
(Occupancy does use transients, but these aren't the issue either. You can replicate it using the three steps above)

Thanks!

June 26, 2025 at 6:01 pm #17174935

Otto
WPML Supporter since 09/2015

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

Timezone: America/Argentina/Buenos_Aires (GMT-03:00)

Hello,

Thank you. I updated our dev team. I'll keep you posted.

Best Regards,
Otto

July 8, 2025 at 5:47 pm #17215666

Otto
WPML Supporter since 09/2015

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

Timezone: America/Argentina/Buenos_Aires (GMT-03:00)

Hello,

WCML 5.5.1 was released, can you please give it a try?

❌ Please make a full website backup before proceeding ❌

Best Regards,
Otto

July 9, 2025 at 3:44 pm #17220218

Verbal

Hello Otto,

*Almost* there.
The availability is now correct for bookable products without a resource.

But it is still present if the product uses resources (hence my warning about this approach #2 in https://wpml.org/forums/topic/duplicate-bookings-with-woocommerce-bookings-2/#post-17078540)

To reproduce:
- create a bookable product with a resource
- set the resource max bookings per slots to "2"
- book one slot
- that slot is now fully booked and cannot be booked by another customer (while there should be one available slot left) in any of the products using this resource

Ps: I'm not using "persons", but you may give it a look at the same time, as they may be affected as well

July 10, 2025 at 12:30 pm #17223850

Otto
WPML Supporter since 09/2015

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

Timezone: America/Argentina/Buenos_Aires (GMT-03:00)

Hello,

Thanks.

I passed your comment to our second tier support. I'll get back to you as soon as I have a reply from them.

Best Regards,
Otto

August 25, 2025 at 3:09 pm #17345617

Verbal

Hello Otto,

I see a beta version was released with the following info:
[WC Bookings] Reverted the change introduced in WCML5.5.0: Improved booking mechanism when the product has no translation – shows correct availability status.

Are we back to the beginning? Can you do a follow-up?

Regards,

August 25, 2025 at 5:03 pm #17345882

Otto
WPML Supporter since 09/2015

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

Timezone: America/Argentina/Buenos_Aires (GMT-03:00)

Hello,

I am checking the dev team the scope of the change and the status of this issue in the next release. I'll get back to you soon.

Best Regards,
Otto

October 6, 2025 at 1:56 pm #17461042

Otto
WPML Supporter since 09/2015

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

Timezone: America/Argentina/Buenos_Aires (GMT-03:00)

Hello,

Please apologize for the delayed reply.

This is the current status of the compatibility with WooCommerce Bookings:

The plugin offers a wide variety of "booking variants." The fix improved one variant, the most popular in our reports, but affected others, even if they didn't work in the initial version.

For now:
- We've added to our documentation that the products we want to set up for booking must be translated into each language before they are made available to customers on the frontend (this eliminates the majority of basic issues).
- The plugin authors may prepare a hook for us that will allow us to "filter the data" (bookings from multiple languages) that enter the occupancy calculation algorithm. This should significantly/completely improve compatibility with the currently broken feature.

Best Regards,
Otto