Booking settings and the public widget
Settings requires a dashboard viewer to open, then loads salon settings, rules, exceptions, services and operators. Save the main form to persist the salon’s displayed booking identity, timezone, limits and public-booking options. Weekly rules specify day of week, start/end time and optional service/operator scope; add a rule and confirm it appears in the rule list.
Date exceptions specify date, closed state or alternate open/close time and note. Save each exception; delete rules/exceptions through their separate actions and verify the row disappears. Configure embed origins for approved iframe hosts. A missing or stale rule can explain unavailable slots; check rule and exception coverage, active services/operators and timezone before retesting.
Operational details
Guests open /embed/beauty/{slug} as a hosted page or iframe. ?lng= selects a supported widget locale; the default is Italian when no supported locale is supplied. ?src=widget marks an embedded reservation; ?theme=light|dark pins the theme, otherwise system styling applies unless salon styling sets a mode.
Embed origins control iframe framing. The guest selects one or more services, date and available time, then enters required name/email and optional phone/notes. Search refreshes slots; if fully booked, alternatives may be offered. Complete Turnstile when configured, submit and verify the result screen.
A stale slot or validation failure requires a fresh search or corrected contact data.
The guest token route /book/beauty/{token} is unauthenticated and token-authorized. It displays the appointment summary and supports only the actions enabled for that current status. Treat the URL as a credential and check the returned status after modifying or cancelling. A successful booking/appointment record does not prove payment or provider acceptance.
Saving booking settings, rules and exceptions requires manage:beauty; reading them requires view:beauty.
On the guest token page, modification uses a date-time field in the visitor’s device timezone, not a slot picker. The server can reject times outside the booking grid or opening hours; for a conflict it may offer alternatives. Cancellation asks for confirmation. Check the refreshed appointment after either action.
Disabling public booking stops new slug-based reservations but does not itself revoke existing guest self-service tokens.
A public slug is required to enable online booking. Only one active exception per date can be created; review the existing exception if another is rejected.