# How does multiple accommodation booking work?

HBook supports the reservation of various accommodation for a same reservation. It can be enabled for back-end only or for back-end and front-end. For example, a group of persons wishes to book various accommodation for their stay. It can be done with a single search and booking process.

<a id="what-settings-are-there-for-the-multiple-accommodation-booking"></a>

## What settings are there for the multiple accommodation booking?

There are various settings to adjust this feature to your needs :

- In **HBook > Misc**, you can enable multiple accommodation booking. You can decide to have this functionality only for back-end use (when adding reservations manually from the admin) or for both back-end and front-end, so visitors can book several accommodations.
- In the **Accommodation** type settings, you can set that you wish to exclude it from multiple accommodation booking. So you can decide which accommodation type can be part of the search results that are made of a combination of rooms.
- In **HBook** **\> Search form**, you can set if you wish to display a “Number of accommodation” field in the search form. When enabled, the visitor will indicate the number of accommodation he would like to book. If you use the “Adults”/“Children” fields, your visitor will indicate for each accommodation the desired number of adults/children.

<a id="how-does-hbook-decide-what-to-show-in-the-search-results"></a>

## How does HBook decide what to show in the search results?

When multiple accommodation booking is enabled, here is how HBook will proceed to display the search results, depending on the set up above.

<a id="multiple-booking-disabled"></a>

#### **Multiple booking disabled**

HBook will show available accommodation types that are suitable for the number of persons searched.

<a id="multiple-booking-enabled-and-number-of-accommodation-field-disabled"></a>

#### **Multiple booking enabled and “Number of accommodation” field disabled** :

- If there are accommodation types that are suitable for the number of persons searched, HBook will show them. A message will be shown above the search results to allow the visitor to search for multiple accommodation.
- If the number of persons searched can not be allocated in one accommodation only, HBook will suggest a combination of accommodation. A message will be shown above the search results to allow the visitor to search for multiple accommodation.

<a id="multiple-booking-enabled-and-number-of-accommodation-field-enabled"></a>

#### **Multiple booking enabled and “Number of accommodation” field enabled** :

- If there are results for the number of accommodation (and persons) searched, HBook will show them. If there are various accommodation types that can be combined, the visitor can choose the accommodation types he wishes to book. He will select the first accommodation type, then the second, etc.
- If there are availability for the number of persons searched but the number of accommodation or the allocation of the persons in the accommodation differs from the search criteria, HBook will suggest a combination of accommodation.