You can replace your site’s default Wix Booking Calendar page with your own customized version. This enables you to modify or extend the page’s functionality to suit your precise business needs.
Important: This feature is currently not supported with Multi-service bookings appointments.
To integrate the page into your site’s booking flow and implement its functionality, you need to add code to the page and use Velo APIs.
Your code has to do several things:
To create a custom calendar page, do one of the following:
Add elements to the page to create your business’s customized design and functionality, such as text, buttons, and images.
At a minimum, these elements must:
getAppPageData()
function to get the service object associated with the page.For example:
Note: To receive a populated page data object using getAppPageData()
when testing your code, do the following:
availabilityCalendar.queryAvailability()
function.$w
namespace to control the page’s elements.
For example:Depending on the functionality you’re developing, implement any business logic that your customized page requires.
Add an event handler to the page’s action button so that it navigates to the next page in the flow, which is typically your site’s Booking Form. You can create a link to a preloaded Booking Form, specifying the appropriate query params based on the user's selections.
For example:
Your custom page can now display the service’s data, provide site visitors with an interface for selecting an available slot, and direct them to the next page in the booking flow.