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.

This topic contains 6 replies, has 2 voices.

Last updated by Andreas 3 years, 3 months ago.

Assisted by: Andreas.

Author Posts
May 12, 2022 at 6:44 am #11204313

aliyaK

I am trying to: Offer room bookings for specific slots in both English and German. Each room for each slot can only be booked once across both languages.

Link to a page where the issue can be seen: visible only in backend / Woocommerce Bookings

I expected to see: Room bookings across languages, i.e. if slot is unavailable in English, should be unavailable for German, other English bookings.

Instead, I got: Rooms can be booked for same slot in English even after slot was booked already in German or in English. Note that double bookings do not occur if I take English pages and booking flow offline. Issue seems to be that reservations apply to each language independently and not in global parameters.

May 12, 2022 at 2:41 pm #11210081

Andreas

Hello there

Thank you for contacting us. I am happy to help you.

As far as I can see you have WCML installed. After any change in bookings, WCML is synchronize bookings in all languages to update the availability. This is the default behavior.

For your scenario, it is not 100% clear to me what is happening.

Can you please provide some screenshots or a screencast, showing us the problem, so I can have a better idea and help you?

Thank you very much in advanced

Andreas

May 16, 2022 at 9:41 am #11227965

aliyaK

Hi Andreas,
Thanks for checking in. We have not been able to replicate the double booking issue on our end but have this frequently from users when EN pages are online. As such I cannot share a screencast, but we do know that in English rooms can still be booked when they should already be unbookable because of a previous booking in German or English. This issue does not occur when we have only German pages online. The attached screenshot shows bookings, in this case showing same room/time slot booked twice. Hope this clarifies further.
Thanks,
Adrian

doublebookGhibli.JPG
May 16, 2022 at 10:16 am #11228447

Andreas

Thank you very much for your reply and your screenshot, but again I can understand your problem but I don't have much information in order to help you.

I would like to request temporary access (wp-admin and FTP) to your site ( it is preferable to be a staging one ) to take a better look at the issue.

I need also to tell me which steps should I follow in order to replicate the issue.

You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.

Our Debugging Procedures

I will be checking various settings in the backend to see if the issue can be resolved. Although I won't be making changes that affect the live site, it is still good practice to backup the site before providing us access. In the event that we do need to debug the site further, I will duplicate the site and work in a separate, local development environment to avoid affecting the live site.

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 make a backup of site files and database before providing us access.

- If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box. The private box looks like this: hidden link

May 24, 2022 at 2:19 pm #11293883

aliyaK

Hi Andreas,

We have setup a staging site and have been able to replicate the double booking - one in German and one in English on June 1 for the first slot at Fugu. Can you enable the private box so that we can send you the credentials for temporary access to our site?

May 24, 2022 at 2:55 pm #11294573

Andreas

Hello and thank you very much for working on that.

I am setting the next reply as private and after adding the information, please add one more comment with the steps I need to do in order to see the problem.

Regards
Andreas

May 25, 2022 at 10:00 am #11302325

Andreas

Thank you very much for the access to your site, things are very clear now and I can explain what needs to be done in order to make it work.

First of all, your products are set to "Translatable -use translation if available or fallback to default language" in WPML > Settings. That means that if the Booking products don't have a translation, then it will show the Default language.

In order WCML can run the sync process, the products need to be in all the languages.

If you don't want to translate the products, then you can go to each product, and on the right sidebar in the WPML section click "Duplicate" for each product.

In this way, all the products will be in all languages and if you make a change in the default language, then it will be updated in all languages.

Also, it is good to confirm the booking order, once we received it. In this way, we eliminated any change that the sync process will not run, especially in your project where you have the cache plugin enabled.

I have tested many times with Fugu , which as I told I duplicate it and it is working as expected.

I hope this helps. Please let us know how it goes or if you need any further assistance. I'll gladly help you. 🙂

Regards,
Andreas