Skip to main content

Search and Book

With the search and book widget you are able to implement a small widget into your own website and let visitors select a arrival and departure date.

They will be redirected to the filter with all the accommodations.

Website integration

Importing this widget to your website is very easy. Just copy the code below and paste it into your website. This works with all the popular CMS tools like Wordpress or Wix

<booking-engine 
administration="{Your administration slug}"
widget="search-and-book"
></booking-engine>

<script type="module" crossorigin src="https://widgets.booking.camping.care/assets/plugin.js"></script>

Where to find your 'Your administration slug'?

The administration slug is the unique identifier for your administration. If you login you are able to find it here: Find your Administration slug

Parameters

You can use all the default parameters as described at this page: Booking Parameters. Instead of adding these parameters to the query, they can be used like this:

<booking-engine 
administration="{Your administration slug}"
widget="search-and-book"
arrival="2024-08-01"
departure="2024-08-08"
></booking-engine>

Some parameters can only be used in this widget.

linkout_url

By default we will link the user to our default accommodation page. But if you create your own accommodation filter page you are able to redirect the users to this page by setting the linkout_url parameter.

<booking-engine 
administration="{Your administration slug}"
widget="search-and-book"
linkout_page="https://example-website.com/my-accommodation-list"
></booking-engine>

hide_accommodations

Don't let users choose an accommodation in the form.

<booking-engine 
administration="{Your administration slug}"
widget="search-and-book"
hide_accommodations="1"
></booking-engine>

Example

This is how it looks in a mobile view.