This feature request is related to http://drupal.org/node/1122426 but with a different approach.

Our idea is to add a "Number of Rooms" selector to the search.

Case: if a visitor has 6 people in their party but wants to book 4 separate rooms, they would be able to select 6 adults and 4 rooms and the system would search for 4 available rooms that have a total capacity of at least 6. If someone searched for 4 rooms for 10 people and the only rooms available have a 2 person capacity then the search would return a message like "the number of persons is greater than the total room capacity, please select different options" or if possible, it could return the rooms needed with a message, "you will need at least 5 rooms to facilitate 10 persons". Or as on hotels.com when you select 4 rooms, you get 4 occupant selectors. that would be even better.

I see some potential conflicts with this idea, if it returns multiple room types, the visitor should be able to see how many of each type are available, and be able to select how many of each type they want to add to the cart.

As a side functionality, it would be great to add a discount type for multiple rooms, book 2 rooms save 5%, book 4 save 10% etc...

Thanks for a great module, and looking forward to see how it develops.

Comments

CodigoVision’s picture

I added this feature request in a way i think may be best for the over-all community, but if it is not feasible, all we really need is the ability to search for and book our entire hotel, if available. We are a small b&b and just have 4 rooms, so if they are available we want someone to be able to book the entire hotel. Could this possibly be created as a custom module? maybe a secondary modified search block that searches availability of all rooms and if available returns a "whole hotel" product or product kit / package with its own pricing etc... if this is a better option for us we may be able to sponsor it.

Thank you

jainmca4444’s picture

Hey Codigo vision,

did you find the solution i need it same functionality in my site.

please help me if you find the solution

warm regard

larowlan’s picture

Getting it to work for the 'book whole hotel' option:
The basic logic would be
*New module that implements hook_form_hotel_booking_search_form_alter and adds
a) a checkbox to the $form['search'] that says 'book whole property'
b) if the form has been submitted ($form_state['submitted'] checks the quantity of results (count(element_children($form['results'])) against the number of rooms (db_query to select count of published room types) - if that's true then adds a new button to the bottom of the form 'book all' which has it's own #submit function that just mimics what the hotel_booking_search_form_submit function does but instead of for the single room - for all of the search results.

So new module with two functions.

You could also alter the search results to add a checkbox next to each entry and add a 'book selected' button which only booked those that were checked.