The search widget allows your customer to select a location and a time range.
It then calculates the availability of items in your first step and if an item is available allows your customer to book it.
The code to implement into your website generally looks like this:
<rtr-search
view="default"
></rtr-search>
Please note:
This code only works in combination with the script, as described in the article
The view variable determines how the items are displayed and how the time is selected.
You can limit the items shown by location or category.
If you have multiple locations, you can either have a select field, or even tell the search widget to only look for items in a specific location and not allow a selection.
This is useful if you have location specific subpages like:
yourwebsite.com/location-a
yourwebsite.com/location-b
You can also tell the search widget to only look for items in a specific category with the parameter show-only-tags.
So you could for example add the variable
show-only-tags="Porsche"
To only show items with the tag / category "Porsche".
This is especially useful if you have category specific subpages, like
yourwebsite.com/category/porsche
You can find that and many many more options in the widget configurator:
View
There are multiple options for the view parameter. We'll look at those below.
Default (recommended)
This is the most common view. It shows the items in a list and allows for both single-day and multi-day bookings.
To use this view, use the variable
view="default"
Slots (recommended for single-day)
The slots view works only within one day. Within that day it shows all possible timeframes within which a customer can book.
It always shows the biggest slot and a customer can then narrow it down.
So if your opening times are from 09:00 to 19:00 and an item is booked from 12:00 to 15:00, then you will get 2 slots.
09:00 - 12:00
and
15:00 - 19:00
In your location opening hours you can also set up recommended times.
Those will be shown separately (if available) and can help you market specific times.
A setting like this:
Will be shown like this:
To use this view, use the variable:
view="slots"
Cards
The card view also shows the pictures you uploaded for your items in Rentware and also its description.
When a customer clicks on this card, a pop-up will open, which looks like this:
This view works for both single-day and multi-day cases, although if you operate strictly within one day, then the "slots" view might be better.
With the "cards" view you don't necessarily need to upload the pictures and description on your website (since it's taken from Rentware anyway) and therefore have less work.
To use this view, use the variable:
view="cards"



