Limit to only one room booking (from search results page)

Free and Premium WordPress Plugins & Themes Forums WordPress Plugins Hotel Booking Limit to only one room booking (from search results page)

This topic contains 2 replies, has 2 voices, and was last updated by   Mary Evans 4 weeks, 1 day ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #856858

    Λουκάς Τσούνης
    Participant

    Hello there,
    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.

    #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.

    #860494

    Mary Evans
    Moderator

    Hello,

    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.

    Best Regards,
    M. Evans

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.