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 has 4 replies, 2 voices, and was last updated 3 years ago by Andre Flores.
Viewing 5 posts - 1 through 5 (of 5 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
    Participant

    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

    #1080240
    Margaret Ana Fernandez
    Participant

    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?

    #1080988
    Andre Flores
    Moderator

    Hello Margaret,

    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?

    Regards,
    Andre

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.