Skip to content

Accommodation filter

The accommodation filter widget adds a list of your accommodations to your website, with the search bar above it. Guests pick their dates and guests, and every accommodation shows its price for that stay with a Book button that opens the booking form.

Each accommodation shows its photos, name and description. Read more (and clicking a photo) opens the accommodation’s page in the Booking Engine.

This widget is available on the Premium plan and up.

Copy the code below and paste it into your website. See Widgets for where to find your administration slug and how to create a public key.

<booking-engine
administration="{Your administration slug}"
public-key="{Your public key}"
widget="filter"
></booking-engine>
<script type="module" crossorigin src="https://widgets.camping.care/assets/plugin.js"></script>

Add parameters as attributes. Each one falls back to the same parameter in the URL of your page.

Attribute Description
arrival, departure The stay to show prices for, YYYY-MM-DD.
default_days Number of nights when no departure is given.
persons, guests The guests to calculate prices for. See Search and book.
category rent or camp to show only that category.
hide_filter Hides the rent / camp filter.
linkout_url Page with the Booking Engine to send guests to when they book.
discountcard ID of the discount card to calculate prices with.
channel_id Channel to calculate prices for.
lang Language code, such as nl or de.

When you set linkout_url, the accommodations have no Read more button.

<booking-engine
administration="{Your administration slug}"
public-key="{Your public key}"
widget="filter"
category="rent"
></booking-engine>

Try it with your own dates and guests. The example uses our demo campsite, Widgets Demo Park.

Event When
book The guest clicks Book. Cancelable.
view-accommodation The guest clicks Read more or a photo. Cancelable.

See Styling and events for the details.