Get Staff's Blocked Dates - Wix Bookings

The booking system on my website works like this:

  1. User will input their contact information

  2. User will select the “staff” for the service

  3. User will select appointment date and time (based on the staff availability)

  4. Checkout

I am having trouble with step no. 3.
I am able to get the staff’s availability for the service, however, I want to disable the dates that the staff has “blocked” on the datepicker . I am aware there is a disable function for datepicker, but how do I display all the available dates for the service and disable the dates that the staff has blocked off? Thanks

Current Situation: Can’t get blocked off dates


WANT: Disable block off dates from staff/staff schedule; display available dates for service

Please post questions in the correct category. This post is being moved to Community Discussions.