Hello,
As i see wix logic is that, you need to put a session to calender and then you can set up limitations for booking.
In our case users can set up their sessions on their own to calender.
Is it possible to just limit calender view to like 2 months (after that you just wont get able to bronate sessions to calender)
Hi Nikolai,
You can add the Availability options object to limit availability when requesting a service.
see here for more info:
https://www.wix.com/corvid/reference/wix-bookings.html#AvailabilityOptions
Alternatively You can limit the date available to the user on the date picker as explained here:
https://www.wix.com/corvid/reference/$w.DatePicker.html#maxDate
Hi Aviram,
Thank you for the reply, never tried to add API’s or something.
Do i need to go to Edit page-> Backend and then just create one or how does it work?
Tried to copy paste it but receiving error with let keyword “the keyword let is reserver”.
Hi Nikolai,
on line 5 you have to write the serviceId of the service you need after the “=” and then close the line with the “;” sign