Availability Results Component
The availability-results component shows whether one entry is available for the visitor’s search, with its price and a Book now button that starts the checkout. Not sure this is the right component? See which component to use.
Adding the results
Put it on the entry’s page, with an availability-search so visitors can change their dates:
{{ livewire:availability-search enableQuantity="true" calendar="range" }}
{{ livewire:availability-results :entry="id" }}
When the visitor presses Book now, Resrv creates a pending reservation and takes them to the checkout. See single entry for more examples.
Properties
| Property | Default | Description |
|---|---|---|
entry |
The entry’s ID. Required. | |
rates |
false |
Shows rate labels. |
rateSorting |
order |
The order of the rates: order (as set in Rates) or price (cheapest first). |
overrideRates |
[] |
Your own rate_id => label map for the rate labels. |
showExtras |
false |
Shows the entry’s extras: true for all, or an array of extra IDs. |
showOptions |
false |
Shows the entry’s options: true for all, or an array of option IDs. |
extraDays |
0 |
Also checks the same stay moved up to this many days earlier and later, to suggest nearby dates. |
extraDaysOffset |
0 |
Spaces those dates out. With 1, they move by 2, 4, 6 days instead of 1, 2, 3. |
view |
availability-results |
A custom view in resources/views/vendor/statamic-resrv/livewire. |
Working with rates
If the entry has more than one rate, turn on rates in both components. When the visitor searches any rate, each available rate gets its own row, price and Book now button:
{{ livewire:availability-search :rates="true" :any-rate="true" }}
{{ livewire:availability-results :entry="id" :rates="true" rateSorting="price" }}
Rates with a cancellation policy show a label:
- Non-refundable for non-refundable rates.
- Free cancellation until <date> for rates with a free cancellation period.
- No free cancellation for these dates when that date has already passed for this check-in.
See Rates to set the policies.
Extras and options
Extras and options are normally chosen at checkout. To let visitors pick them next to the results instead, turn on showExtras or showOptions:
{{ livewire:availability-results :entry="id" showExtras="true" }}

Customizing
Publish the views with php artisan vendor:publish --tag=resrv-checkout-views, then edit resources/views/vendor/statamic-resrv/livewire/availability-results.blade.php. The rate rows are in components/availability-results-advanced.blade.php.
Related
- Availability List: upcoming available dates for one entry.
- Availability Collection: availability for many entries at once.
- Cart booking: several rates and dates in one reservation.