# Misc settings

In this section of the documentation, you will find information regarding the **Misc** settings:

![hbook-misc-menu-item.png](./attachments/hbook-misc-menu-item.png)

* * *

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

## Multiple accommodation booking

![misc-multiple.png](./attachments/misc-multiple.png)

1. Set if you wish to **enable multiple accommodation booking.**
2. If you have enabled multiple accommodation booking, you can set if you wish to **enable it for the front-end** or have the multiple accommodation booking only available for the back-end.
3. Indicate if you prefer that HBook uses the normal occupancy or the maximum occupancy to fill in the accommodation when suggesting multiple accommodation in the search results.
4. When using “Normal occupancy”, you can set if you wish to prevent **singleton** when possible.
5. You can disable the suggestions if you do not wish HBook to make suggestions when no result can meet the searched criteria.

> [!INFO]
> HBook will show suggestions :
> - when you have set that you do not wish to show a “Number of accommodation” field in the search form
> - when there is no result for the number of accommodation specified (and number of persons for each accommodation), but it is actually possible to accommodation the number of persons searched at these dates, with a different combination of accommodation.

> [!NOTE]
> See [here](https://maestrel.atlassian.net/wiki/spaces/KB/pages/33521710/How+does+multiple+accommodation+booking+work) in our knowledge base for more information regarding multiple accommodation booking.

* * *

<a id="confirmation-settings"></a>

## Confirmation settings

![misc-confirmation.png](./attachments/misc-confirmation.png)

You can set if a **confirmation is needed** before the dates are blocked out in the calendar. This setting can be different for reservations:

1. with **offline** payment: no payment action has taken place at the time of the reservation on your website
2. with an upfront **payment action:** deposit, full amount or payment method provided for future charges

When a reservation requires confirmation, it means that the reservation will have **“Pending” status** and the accommodation will **remain available** until you click on “Confirm”. It is working as a reservation request that leaves the accommodation available, so you can **receive various reservation requests** and decide which one you confirm and which ones you decline.

> [!NOTE]
> See [here](https://maestrel.atlassian.net/wiki/spaces/KB/pages/34799780/How+does+the+Confirm+action+work+What+happens+when+I+confirm+a+reservation) in our knowledge base for more information regarding case examples to use the confirmation settings and “Confirm” action.

3. You can set an **automatic confirmation** of a “Pending” reservation when a payment is received or added. If enabled, the following actions will change the reservation status from “Pending” to “Confirm”:
  - mark as paid
  - add a payment
  - charge a saved payment method (Stripe only)
  - receive a payment made from a payment link
  - have a payment method added/updated from a payment link

* * *

<a id="reservations-status"></a>

## Reservations status

![misc-status.png](./attachments/misc-status.png)

You can set the default [reservations status](../hbook-documentation/reservations/reservation-list.md#reservation-table-status) depending on the origin of the reservation received (front-end, admin, iCal).

* * *

<a id="reservations-list-settings"></a>

## Reservations list settings

![misc-resa-list-settings.png](./attachments/misc-resa-list-settings.png)

1. **Archiving delay**: HBook automatically archive your reservations. You can then find them in **Reservations > Archived reservations**. Here you will enter the delay in months before archiving should be done.
2. **Reservations list default filter**: you can set here the default filter for the [Reservations list](../hbook-documentation/reservations/reservation-list.md#reservation-list-filter).
3. **Reservations list filters default values** : you can set the default values for all the filters for the Reservations list.

* * *

<a id="invoice-id-and-reservation-number"></a>

## Invoice ID and reservation number

![misc-resa-invoice-id.png](./attachments/misc-resa-invoice-id.png)

You can customize the **invoice ID** :

1. You will indicate here the **structure** of the invoice ID. You can use the variables %year, %month and %counter
2. You can manually set the counter to a specific number for the next invoice ID.
3. You can indicate the automatic **reset frequency** so HBook will automatically reset the %counter variable value to “1” either monthly, yearly or never.
4. You can decide if the invoice ID should also be counted for reservations imported from iCal calendar, in addition to those made through HBook.

HBook allows you to have a random **reservation number**, in addition to the reservation ID and the invoice ID. It will be displayed in the [list of reservation](https://maestrel.atlassian.net/wiki/spaces/HD/pages/edit-v2/61112321), you can as well include the variable \[resa\_alphanum\_id\] in [Documents](../hbook-documentation/documents.md) or [Emails](../hbook-documentation/email-settings.md)

5. You can add decide to use an additional **alphanumeric reservation number**.

* * *

<a id="opening-dates"></a>

## Opening dates

![misc-opening.png](./attachments/misc-opening.png)

You can set here the **global** **booking window**. If you have different opening dates for one/some accommodation types, you can override the default opening date for an Accommodation Type. This is done in the [Accommodation Type settings](../hbook-documentation/accommodation-types.md#accom-opening-dates).

1. You will indicate here the **minimum selectable date**. It can be set by defining:
  - a number of days from current date. This is useful if you wish to prevent last minute booking.
  - a fixed date. This is useful if you are not open all year round. This will be your opening date.
2. You will indicate there the **maximum selectable date**. It can be set by defining:
  - a number of months ahead of the current date. This is useful if you wish to set a booking window to allow bookings within 6 months only, for example.
  - a fixed date. This is useful if you are not open all year round. This will be your closing date.

> [!INFO]
> Please keep in mind that this is **HBook** **booking** window, for reservations received on your website (front-end) only. You can as well set the [iCal import window](../hbook-documentation/ical-import-export-and-synchronization.md#ical-import-window), which will apply only to the iCal import of reservations received on your external calendars.

* * *

<a id="dates-settings"></a>

## Dates settings

![misc-dates.png](./attachments/misc-dates.png)

1. You can set the **date format** and the **first day of the week** for the front-end.
2. Note that if you have a multilingual site, you can set these for each language
3. You can as well specify different settings for the admin (back-end)

* * *

<a id="emails-settings"></a>

## Emails settings

![misc-emails.png](./attachments/misc-emails.png)

1. **Email logs retention period**: HBook keep [logs of the emails sent](../hbook-documentation/email-settings.md#email-logs). Here you will enter the period of logs retention, in months.
2. **Default sender email**: When no email address is set in “From” header, HBook will use this email as sender. If empty, HBook will use the WordPress administrator email. This applies to all emails, automatic or manual emails.
3. **Default recipient email for automatic emails**: When no email is set in “To” header of the automatic email templates, HBook will use this email as recipient.

> [!INFO]
> For manual emails, the default “To” email address is the customer email.

* * *

<a id="terms-and-conditions-privacy-policy"></a>

## Terms and conditions, Privacy policy

![misc-tac.png](./attachments/misc-tac.png)

1. If you wish to add **terms and conditions** checkbox: a compulsory “Terms and Conditions” section will be displayed just before the “Book now” button.
2. If you wish to add a **privacy policy** checkbox: a compulsory “Privacy Policy” section will be displayed just before the “Book now” button.

> [!INFO]
> To customize the text, to add for example a **link** to your terms and conditions page or privacy policy page, go to **HBook >Text > Book now area**, and you will find the fields that can be customized.

> [!NOTE]
> Please consult these article of our knowledge base to add a link to your “Terms and conditions” or “Privacy policy” page:
> - [How to add a link to my "Terms and Conditions" page?](https://maestrel.atlassian.net/wiki/spaces/KB/pages/34668817/How+to+add+a+link+to+my+Terms+and+Conditions+page)
> - [Is HBook ready for European GDPR (General data protection regulation)? Can I set a Privacy Policy checkbox?](https://maestrel.atlassian.net/wiki/spaces/KB/pages/34767194/Is+HBook+ready+for+European+GDPR+General+data+protection+regulation+Can+I+set+a+Privacy+Policy+checkbox)
> - [How to add a Privacy Policy checkbox and link to the policy page?](https://maestrel.atlassian.net/wiki/spaces/KB/pages/34734421/How+to+add+a+Privacy+Policy+checkbox+and+link+to+the+policy+page)

* * *

<a id="import-export-of-hbook-settings"></a>

## Import/Export of HBook settings

![misc-export.png](./attachments/misc-export.png)

You can **export or import a HBook settings** file. It will be in a .json format and this can come in handy when you wish to move a HBook install with its settings, accommodation types, customers, and reservations.

> [!INFO]
> If you import a .json file of HBook settings in a WordPress installation, please have in mind that any previous HBook set-up, accommodation types, reservations, and customers will be replaced.

<a id="import-a-hbook-settings-file"></a>

### Import a HBook settings file

![misc-import-exclude.png](./attachments/misc-import-exclude.png)

1. Click on “Import” and select the file to import.
2. You can specify if you wish to exclude specific settings/data from being imported.
3. Click on “Import settings file”.

<a id="export-a-hbook-settings-file"></a>

### Export a HBook settings file

![misc-export-exclude.png](./attachments/misc-export-exclude.png)

1. You can specify if you wish to exclude specific settings/data from being exported.
2. Click on “Export settings file”.

* * *

<a id="hbook-reset"></a>

## HBook reset

![misc-reset.png](./attachments/misc-reset.png)

1. **Delete Customers, Reservations and Blocked dates**: customers, blocked dates and reservations tables will be emptied. This is useful to delete any tests and start fresh. Reservation ID and Customer ID will start again from “1”
2. **Delete Reservations and Blocked dates**: Customers will be kept, but the reservation and blocked dates tables are emptied. Reservation ID will start again from “1”.
3. **Delete only reservations imported from external calendars (iCal sync)**: any reservation received on your website will be kept, but all reservations imported from external calendars will be removed, whatever their status is. This can be handy when you have iCal sync issues and need to have a clean reservation list to set up iCal correctly.
4. **Delete only reservations with status “Cancelled”**: all reservations that have “Cancelled” status will be deleted from the reservation table.
5. **Delete only past reservations**: all past reservations will be deleted from the reservation table.
6. **Delete only past blocked dates**: all past blocked dates will be deleted from the reservation table.

The reset actions can not be rolled back. Make sure you know what you are doing before proceeding!

* * *

<a id="misc"></a>

## Misc

![misc-misc.png](./attachments/misc-misc.png)

1. **Allow accommodation with children only**: you can set here if you wish to accept that only children occupy an accommodation (no adults).

> [!INFO]
> This can be useful for specific case, as for example:
> - if you have accommodation for children only. You can specify the maximum number of adults/children for an accommodation type, in the [Occupancy settings](../hbook-documentation/accommodation-types.md#occupancy-settings).
> - if you use the “Adults” and “Children” fields for other purposes. For example, when using HBook for a pet boarding project, with “Dogs” and “Cats”.

2. **HBook admin language**: you can set here if you wish to use the existing translations of HBook admin menus (when available for your language). To see an updated full list of available translations, please check [here](https://maestrel.atlassian.net/wiki/spaces/KB/pages/34734439/Is+HBook+available+in+different+languages+Do+you+include+translation+files) in our knowledge base.
3. **Accommodation post slug**: customize the slug for the posts in the URL. Default is “hb\_accommodation”
4. Set if you wish that we remove all tables/rows of data added by HBook upon deletion of the plugin from the **Plugins** menu.
5. Set if you wish to have a **dynamic** or **static** resizing of the images. HBook uses Aqua Resizer for resizing the images. If you need to use your own resizing functions, you will set this to **static,** and you will use HBook filter [hb\_image\_sizes](../hbook-documentation/plugin-customization.md#hb-image-sizes).
6. Adjust the **delay** before a timeout occurs for front-end pages
7. Adjust the **delay** before a timeout occurs for admin pages