Usage

Embedding the Booking Form

{{ craft.stub.bookingForm() }}

Setting Up Services

Navigate to Stub → Services to create bookable services with duration, pricing, buffer times, and capacity per slot. Each service can use its own currency — see Currencies.

Displaying Prices

Format a price with its currency’s symbol, decimal count and placement rather than assuming two decimals:

{{ craft.stub.formatPrice(service.price, service.currency) }}

Managing Providers

Add providers in Stub → Providers with weekly schedules, breaks, blocked dates, and service assignments.

Stripe Webhook

If payments are enabled, set your Stripe webhook endpoint to:

https://yoursite.com/actions/stub/webhook/handle

Permissions

Six permissions: viewBookings, manageBookings, deleteBookings, manageServices, manageProviders, manageCustomers.