Booking widgets
A booking widget is the online booking form you embed on your own website. Guests check availability and book directly, and those bookings flow straight into Gurita.
Who can access this: requires the Booking Widgets (read) permission and the Booking Widget module. Creating and editing require Booking Widgets (create/update).
The widget list
Open Master Data → Booking Widgets → Booking Widgets. Each widget appears as a card with its name, address slug, and status. From a card you can open the live widget in a new tab, edit it, or delete it.
Booking widget list as cards
Creating or editing a widget
Click Create, or open a widget to edit. Set the basics, then fine-tune the look and behaviour.
| Field | What it does |
|---|---|
| Name | Your internal name for the widget. |
| Slug | The short address the widget lives at (lower-case). |
| Status | Active or Inactive. |
| Type | Resort, Vessel, or Dive Center — what the widget sells. |
| Design | The visual layout, filtered to the chosen type: Resort offers a modern resort layout (ResortModern) and a multi-property layout (ResortMulti, see Multi-property widget), Vessel a slim schedule layout (ScheduleSlim) and a modern schedule layout (ScheduleModern, see Liveaboard schedule widget), and Dive Center a base or multi-shop layout. With the Pool Inventory module, Resort and Vessel widgets also offer PoolSearch — one search across all your pool resorts and liveaboards (see The public widget). |
| Filter | Which resort(s), vessel(s), itinerary, or dive center the widget offers. The filter fields change with the type — a Vessel widget can also narrow to specific itineraries. |
The Configuration and Theme boxes hold advanced options as editable text (which fields to show, currencies, colours, logo, and so on); use the chevron to expand them for more room. At the bottom, the Code box gives you the snippet to put on your website.
- Set the name, slug, type, design, and filter.
- Adjust the configuration and theme to match your brand.
- Save.
- Copy the Code and hand it to whoever maintains your website.
The snippet is a small in-line frame that points at your live widget (your-site → /widget/your-slug) plus an auto-resizer script, so the widget grows and shrinks to fit its content on the page. The slug is always saved in lower case. Paste the whole snippet where you want the booking form to appear.
Tip: Use open to preview the live widget before you publish the code, and keep it Inactive until you're happy with it.
Promo codes in a widget
Switch on Allow promo codes ("Shows a promo code field in the price summary") in the widget's configuration to let guests type a promo code. It is off by default and needs the Referral & Promo Codes module. It works in the Resort modern, Resort multi, Schedule slim, Schedule modern and Dive Center base designs. A campaign link with ?referral=CODE then applies the code automatically. See Referral and promo codes.
The dive centre shop flow
A Dive Center widget using the multi-shop design can run one of two booking flows for guests. Set it under Booking flow in the widget's configuration.
| Shop flow | What the guest gets |
|---|---|
| Guest form (default) | The existing flow: pick a date and guests, personalize each guest, then review and book. |
| Shopping cart | A cart-style flow: pick dates and quantities first, add divers afterwards, then check out with a full billing address. |
What the guest sees in the shopping cart flow
- Dates & extras — the guest picks arrival and departure in the calendar shown on the page and chooses what to book (courses, packages, equipment). Only the products of the chosen dive centre are listed, plus products that are not assigned to any property. A running total is shown next to the selection, marked as an estimate — the final price is calculated at checkout.
- Divers — the guest adds every diver who is booked: salutation, name, birthday, and certification level. When there is more than one diver, an extra step, Who is it for?, lets the guest assign each booked item to the diver(s) it is for.
- Checkout — the guest enters the contact and billing details for the booking (address, phone, email), optionally or mandatorily creates an account (see Require account below), reviews the order summary, and accepts the terms and conditions.
- Confirmation — the booking is shown as received, awaiting payment, same as today.
Note: The guest's own line item — added automatically as the first diver — carries the contact details when the guest ticks "The contact person is diver 1", so Gurita recognizes them as one and the same customer instead of creating a duplicate.
Placeholder image10-widget-cart-flow.pngShopping-cart flow of a dive-centre widget
New settings for dive-centre shop widgets
These settings appear in the Booking flow section of the widget configuration once the type is Dive Center and the design is the multi-shop layout.
| Setting | What it does |
|---|---|
| Require account ("Guests must log in or register before booking") | Blocks Book now until the guest is logged in or has registered. Applies to both shop flows. |
| Existing customers must log in | Returning guests must log in before they can book; their customer record is then updated with the contact details they enter. See Existing customers must log in. |
| Minimum lead days | The earliest a guest may start a booking, counted in days from today. Applies to both flows' date pickers and is also enforced on the server. Leave it unset for no minimum. |
| Max months ahead | The latest a guest may start a booking, counted in months from today. Applies to both flows' date pickers and is also enforced on the server. Leave it unset for 24 months. |
| Certification levels | The list of certification levels offered in the diver dialog. Leave it empty to use Gurita's built-in list. |
Note: The server enforces only the lead-day and month limits you actually set — an unset Minimum lead days allows same-day bookings, and an unset Max months ahead still limits the date picker to 24 months but does not reject a booking beyond it.
What gets stored on the customer record
The certification level and the full billing address entered in the shopping-cart flow are saved only when Gurita creates a new customer for a diver or contact. If a diver or contact matches an existing customer by email, that customer's record is left unchanged — public widgets never overwrite existing customer data. The one exception is a logged-in guest on a widget with Existing customers must log in switched on (see below).
The certification level is stored in whichever customer data field is tagged with the Certification level semantic role — typically the field from the dive certification starter pack. If no field on the property carries that role, the certification level the guest entered is simply not saved. A certification-level field that is a dropdown only accepts one of its own listed levels; anything else is dropped the same way. Gurita's built-in list rarely matches a dropdown's levels word for word, so when the field is a dropdown, enter exactly its levels under the widget's Certification levels.
Existing customers must log in
By default, anyone can book with any email address. If that address already belongs to a customer, the new booking is simply linked to that customer. Switch on Existing customers must log in ("Guests whose e-mail address is already known must log in before booking; their booking contact data then updates their customer record") in the widget's Booking flow section to make returning guests log in first. The option is offered only for the dive-centre multi-shop design, the one design where guests can log in (through its account card).
With the option on:
- Guest not logged in, contact email already known — the booking is not created. The guest sees "A customer account with this e-mail address already exists. Please log in to complete your booking." Once they log in, they can book again.
- Guest not logged in, new email — the booking goes through as usual, and a new customer is created.
- Guest logged in — the booking contact is always the logged-in customer. Their customer record is updated with the contact details entered in the widget: salutation, first and last name, birthday, phone, address, and nationality. Only fields the guest filled in are updated; empty fields never erase what is stored. The email address is never changed, so the customer keeps logging in with the same address.
Only the booking contact is checked and updated. Other guests on the booking are handled as before: an existing customer is linked without changes, and a new one is created.
Note: The option only takes effect when Create Customer automatically is switched on in your booking settings. Without it, widget bookings create no customers, so there is nothing to check.
Statistics
Master Data → Booking Widgets → Statistics shows how a widget is performing. Pick the widget and a date range. The Dashboard tab shows counts and revenue by booking state (draft, planned, confirmed, cancelled); the Bookings tab lists the bookings the widget produced.
Booking widget statistics dashboard
