Booking Form
The [[dwb_booking_form]] shortcode displays a multi-step public booking form on your website, allowing visitors and existing customers to book appointments.
Usage
[[dwb_booking_form]]
Attributes
| Attribute | Description | Default |
|---|---|---|
title |
Custom heading displayed above the form | “Book an Appointment” |
service_ids |
Comma-separated list of service IDs to display. Limits which services appear in the form. | All active services |
Example with Attributes
[[dwb_booking_form title="Schedule Your Walk" service_ids="1,2,5"]]
Form Steps
The booking form guides visitors through five steps:
- Service Selection — Choose from available services. If multiple service types exist, an optional filter lets visitors narrow the list.
- Date & Time — Select a date and available time slot. The form checks for conflicts with existing appointments and respects business hours, same-day cutoff times, and holiday dates.
- Customer Information — Enter name, email, phone, and address. Existing customers can look up their account by email to pre-fill their information and access their pet profiles.
- Pet Selection — For existing customers, select which pets to include. New customers can add pet details during the booking process.
- Pricing Summary — A real-time price calculation showing the base rate, additional pet charges, holiday surcharges, same-day booking fees, and the total. Pro users with custom per-customer pricing will see their personalized rates.
After Submission
After the visitor submits the booking, it enters the approval workflow. If auto-approve is enabled, the appointment is immediately confirmed. If auto-approve is off, the appointment is set to Pending status for admin review.
