Plugin Store

Official plugins

Booking — appointments

The official Booking plugin — set up services, durations, prices, weekly opening hours and holidays; customers pick a day and a free time at /booking with no double bookings, confirmation and cancellation by email

5 min readLast updated

View as Markdown

On this page

The Booking plugin (booking) lets customers book appointments on your site — for hair salons, clinics, spas, restaurants, meeting rooms or classes.

Needs Anasaki Studio 2.2.2 or later.

Getting started#

  1. Install Booking and open the Bookings page (developer menu → plugin pages)
  2. The Services tab — add a service with a name, duration (minutes), price and capacity (e.g. 2 stylists = 2)
  3. The Opening hours tab — set the hours for each day, tick Closed for days without bookings and add special closed days
  4. Link /booking from your menu, or place the Book now block (optionally with a preselected service)

Default: open 09:00–18:00 every day except Sunday.

How customers book#

/booking → choose a service → choose a day → choose a free time → enter name, phone, email (optional) → Confirm booking

  • Time slots are spaced by the service's duration (at most every 30 minutes) and never run past closing time
  • Times full up to the capacity are not shown, and availability is checked again on confirmation, so there are no double bookings
  • After booking, customers get a Your booking page with a Cancel booking button, and a confirmation email with the same link
  • Every step is plain links and forms, working on any phone even with JavaScript off

Settings#

SettingMeaning
Confirm bookings automaticallyOff = new bookings stay pending until the shop confirms (the customer gets an email on confirmation)
Days bookable in advanceDefault 30 days
Minimum notice (hours)Default 2 hours
New booking notification emailEmpty = the administrator email (for new bookings and customer cancellations)

Managing bookings#

The Bookings tab lists upcoming appointments by date and time. Filter by status, then press Confirm, Done or Cancel. The Manage bookings permission is set under Users → Permissions.

Times use the site's time zone (Site settings → General) as a fixed offset without daylight saving, which matches Thailand and most of Asia.

Tables, staff, deposits and reminders (1.1)#

  • Booking page title and button text — e.g. "Book a table" or "Reserve a room" instead of "Book an appointment"
  • Party size — set a service's Most people per booking above 1 and its capacity counts seats (e.g. 40 seats, at most 8 per booking)
  • Staff — the Staff tab: add people and tick the services they give; customers pick one or "anyone", and each person takes one booking at a time
  • Extra questions — one per line, ending with * = required; answers show in the bookings list and the shop's mail
  • Deposit — set a service's Deposit (THB) and PromptPay / bank details in the settings; customers see a QR of the deposit and upload the slip; the booking waits for you to confirm and is cancelled when unpaid after the set time
  • Reminder mail — 24 hours before by default, once per confirmed booking with an email

For developers#

site.on('booking.created', (b) => http.webhook('https://example.com/hook', 'booking', b));
site.on('booking.status', (b) => log.info(b.id, b.from, '→', b.status, b.by));

The plugin's tables: p_booking_services p_booking_hours p_booking_closed_days p_booking_bookings