The booking widget allows a complete booking from start to finish via your own site.
Ensure you have completed the installation step, then add the following code at the appropriate place in your page.
<div
data-allocate-target="https://example.allocate.co.uk/"
class="_allocate"
data-allocate-widget="booking"
></div>
Replace example.allocate.co.uk with the address provided in your sign-up documentation.
If you want to take payments directly on your site, you will need to install an SSL certificate ( talk to you website provider) otherwise your customer will be forwarded over to our servers for the payment stage.
data-allocate-show-firstValid options rooms, products
data-allocate-skip-single-optionsValid options "none", "all", "room", "product", will skip all if not set
Skip room / product / all choices where only one option is valid.
data-allocate-limit-zone-idValid options comma separated list of zone ids, i.e (1,2,3)
Limits the booking to certain zone ids
data-allocate-limit-zone-typeValid options comma separated list of zone types, i.e (Yurt, Room)
Limits the booking to certain zone types
data-allocate-limit-product-idValid options comma separated list of product ids, i.e (1,2,3)
Limits the booking to certain product ids
data-allocate-limit-product-typeValid options comma separated list of product types, i.e (Golf, Tennis)
Limits the booking to certain product types
data-allocate-availability-modeValid options "chart", "calendar". will default to best guess based on property layout. see examples below.
data-allocate-show-end-dateValid options "true". show end date picker rather than nights dropdown.
data-allocate-calendar-simpleValid options "true". Do not show 'traffic-light' style overlays on calendar
data-allocate-show-alternateValid options "true". Show the chart/calendar display immediately instead of when show alternate is clicked
data-allocate-sticky-alternateValid options "true". Do not hide the chart/calendar when a date is picked.
data-allocate-separate-viewValid options "true". Separate rooms + products into their own screen
data-allocate-availability-preselectValid options "first-available", "cheapest". will pre-select a date based on the option selected, be it the cheapest in view or the first available stay
data-allocate-promo-codeValid options "true, or title text for the button" show the promo code box so customers can use hidden offers.
data-allocate-show-limit-nameValid options "true" Show the name of product or room above occupancy
data-allocate-show-limit-descriptionValid options "true"
Show the description of product or room above occupancy
data-allocate-show-unavailableValid options "none", "all", "room", "product"
Show a list of unavailable zones, products or properties
data-allocate-occupancyValid options comma separated list of default occupancy for adults, children and infants, i.e (2,1,0)
Defines what selections of adults, children and infants are used by default when the widget is loaded.
Global options are available on all widgets_