Hello!
So I’m designing a custom booking calendar page, and I am trying to integrate it into the native booking forms I have on the site. I’m using wix studio in dev mode, coding through Velo.
I imagine it to look something like this, but I am open to other solutions as well. I just need the button to take the user from the selected calendar event (have eventid and service id) to an instance of a booking form that allows them to confirm their spot in the class.
$item("#bookButton").onClick(() => {
const queryParams = `?serviceId=${serviceId}&eventId=${data.eventId}&referral=booking_calendar_widget`;
wixLocation.to(`/booking-form/${serviceId}${queryParams}`);
});
Any help is appreciated thanks ![]()