To use the 'next available time' function you must have 'services' as the first step in your online booking flow. To set this up, go to your Online Booking settings and change the booking flow to have services in the first place.