About this block
Every home you rent, with live prices and the next open night, read from your Properties collection. Connect Hospitable on the collection's Source tab and the cards fill themselves and stay in sync.
When to use it
- On your home page or a Stays page, when you rent out one or more homes through Hospitable.
What's inside
- A {% for item in collections.properties %} loop over the rental collection (fields: title, slug, picture, city, state, maxGuests, bedrooms, bathrooms, nextAvailable, fromPriceFormatted, listed).
- Homes you've unlisted in Hospitable are skipped.
- Each card links to /stay/<slug>, the page that holds the Rental home detail block.
How to customize it
- If your collection has another slug, change collections.properties to match.
- If your detail page lives somewhere other than /stay, change the card links.
Questions
- How fresh are the prices?
- As fresh as the last sync. The collection re-syncs on the schedule you set on its Source tab (hourly by default), and your published pages update after each sync.