By default, the booking engine will load with its default settings. But of course are those settings customizable. Changing the settings will be very easy and will only take a couple of minutes.
By passing the name of the settings in as an attribute, you can change it. Example:
<booking-engine inline="true"></booking-engine>Underneath are all the settings that can be changed, with their values, and a description of what the setting will do.
This changes the type of the engine.
Waarden: camping, ota, backend (default: camping)
This setting will convert the component into an inline component. The header will disappear and some elements wil get a different position. You will want to use inline if you want to integrate the engine into your project. If you want to use the engine as a stand-alone component, then you want to turn it off.
Values: true or false (default: false)
This will make the hashtag in the url disappear. When the server isn't configured properly, a 404 error will be presented, when you use history mode. If this happens, check the configuration of your server, or change the setting to hash.
Values: history or hash (default: hash)
This will change which page is loaded first. When the engine is loaded for the first time, a landing page will appear. With this setting, you can control what page is shown.
Values: The recommended values for this setting are: search or list. For a complete list of the available pages, look into the pages section. (default: search)
When this setting is enabled, an additional filter option is presented. From here you can filter on accommodation. When you've selected a accommodation, you will be brought to the detail page of it immediately.
Values: true of false (default: true)
Bij het contact formulier zal er standaard een geboortedatum veld staan. Mocht u dit niet willen kunt u deze uitschakelen door de waar de false mee te geven.
By default, a birthday field will be present in the contact form. If you don't want this field, you can turn it of by setting the attribute to false.
Values: true of false (default: true)