Black Friday

40% off every plan for a year with code BF2026. Until December 2.

See the prices
2.0 Beta

Smootify 2.0 is in public beta. Your 1.x store keeps working. Move when you want.

What changed

Booking

The values of `booking` inside `booking-calendar`.

v2.0 beta
Open .md
On this page
  1. Where it can go
  2. Values

Where it can go

Values

Attribute and valueWhat it isNotes
booking="day"DayTemplate: one copy per day of the range, with data-date and the classes is-today, is-closed (no slot) and is-full (every slot full); on container
booking="slot"SlotTemplate: one copy per slot of the day. Picked: is-selected and aria-pressed; full: is-full and disabled. A click picks it, a second click lets it go; on button; inside booking-calendar [booking=“day”]
booking="day-number"Day of the month12; inside booking-calendar [booking=“day”]
booking="weekday"WeekdayMon, in the site’s language; inside booking-calendar [booking=“day”]
booking="month"MonthOctober, in the site’s language; inside booking-calendar [booking=“day”]
booking="date"Full dateMonday 12 October, in the site’s language; inside booking-calendar [booking=“day”]
booking="time"TimeThe slot’s time, in the time zone of the store’s location; inside booking-calendar [booking=“slot”]
booking="left"Places leftinside booking-calendar [booking=“slot”]
booking="capacity"Placesinside booking-calendar [booking=“slot”]
booking="range"Days shownThe first and the last day of the range
booking="selection"Picked slotThe day and the time of the picked slot
booking="error"ErrorIn the cart: why a slot could not be held

    ↑ ↓ to moveEnter to openEsc to close