- This topic has 4 replies, 2 voices, and was last updated 3 years ago by Andre Flores.
- September 17, 2019 at 10:09 am #856858Λουκάς ΤσούνηςParticipant
We’ve implemented your booking engine and so far the results are amazing.
We converted it to our own needs so it connects to an ERP with API connectivity that manages all the bookings for the hotels (like a channel manager).
We got only one question though, since at the convert point we draw the results from multidimensional arrays and convert it to single results, we are facing issues when it comes to multiple bookings. It only keeps the last booking placed & we’re working on the multi-part.
What we wanted to ask is if there’s an easy way to limit the room bookings to only ONE per time temporarily (if there’s a switch or a function, so we don’t map the rest of the plugin), even if at the search results it shows all the rest available accommodations. So far one guess is by converting the :checked to the only one available when pressing the “Book button” & Confirm reservation, so the others just either go display:none or render unclickable (grayed out).
That way though we might still face issues if some1 tries to bug it.
So before we start making any big changes there, is there any “easy workaround” that could help us out the easy way on this one, so the websites go live asap until we figure it out?
Great job on the plugin overall.
Waiting for your reply, thank you in advance.
Leon, Greece.September 17, 2019 at 12:08 pm #856951Λουκάς ΤσούνηςParticipant
No worries, we figured out a a temporary solution, that doesn’t bug even if you mess with the calendar, rooms and so on!
Thank you, if there’s anyone that needs to add something to this post we would really appreciate it.September 24, 2019 at 2:08 pm #860494Mary EvansParticipant
Thank you for the question.
As a workaround, you can remove the general search form and search results page. After that, enable direct booking from accommodation pages. For this make sure to enable “Skip Search Results” under your dashboard > Accommodation > Settings. Also, you should add the booking form for the separate accommodation types. You can do it with the shortcode [mphb_availability id=”777″] where 777 is your accommodation type ID.
Let us know if you have more questions.
M. EvansFebruary 24, 2021 at 4:08 pm #1080240Margaret Ana FernandezParticipant
In reference to Mary’s answer…
“Also, you should add the booking form for the separate accommodation types.”
If we’re using a SINGLE POST TEMPLATE this won’t work for each of the properties, so where exactly is the booking form being added?February 26, 2021 at 2:57 am #1080988Andre FloresModerator
I am afraid I did not quite get your point. Could you kindly rephrase or provide more details on what you are trying to achieve?
- You must be logged in to reply to this topic.