[app_book] shortcode creates HTML code for complete booking process. It has four components:
- Menu: By default client selects service using pull down menu it creates. As Addons are activated, other menus are also automatically included here. For example, Locations, Service Providers, Number of Persons (for Group Booking), Number of Repeats ( for Recurring Appointments).
- Booking View: By default monthly calendar for current month and next month are displayed. Client views available time slots here and picks his selection by clicking on
- Browse area: Generates
- Next and previous buttons which allows client to view other available dates
- A date picker to jump to a far date
- Legend fields to describe meaning of color codes
- Confirmation Form: Displays details of the selected time slot and has fields client can fill. It also has submission button.
Output created by the shortcode is controlled by its attributes (parameters) and automatically adjusted. The result is intuitive. For example:
[app_book service="3"]is a fixed selection of service with ID 3 and service selection pull down menu is hidden.
[app_book type="weekly" range="4 weeks"]Creates a booking view for 4 weeks and each next/previous button click will change the date by 4 weeks
[app_book type="table" range="10"]displays 10 book now buttons in table view. Each next and previous button click will show 10 more.
[app_book start="2019-01-01"]makes the calendar (in this case monthly calendar) start at January 2019
[app_book start="auto"]makes the calendar start from first available month
[app_book type="weekly" add="6"]makes the weekly calendar start 6 weeks from current date
- When selected service is not configured for an option, related menu is hidden. For example if service with ID 3 does not support Group Bookings, when client picks that service, Number of Persons selection menu is not displayed