Concurrent Appointment Time selected

Posted · Add Comment

Scheduler › Forums › BirchPress Scheduler › Concurrent Appointment Time selected

Tagged: 

This topic contains 4 replies, has 4 voices, and was last updated by  Tim Heeter 9 years, 10 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #16048

    Jennifer
    Keymaster

    Hi Jose,

    You can add the following code to WP Admin > Appointments > Settings > Custom code > PHP text box:

    <?php
    add_filter('birchschedule_view_bookingform_validate_appointment_info', function($errors){
    global $birchschedule;
    $time_errors = $birchschedule->view->bookingform->validate_booking_time();
    return array_merge($errors, $time_errors);
    }, 20);
    ?>

    It will double check if the time is still available when clicking ‘Submit’.

    #26221

    pratik
    Participant

    Hi Jennifer,

    I am also facing same problem and I also tried the above code but It stopped the appointment booking. So please let me know how can I fix the concurrent booking for same provider.
    Hope I’ll get revert soon.

    #27002

    Tim Heeter
    Participant

    This is the error I appear to be having…allowed 4 concurrent bookings with same provider

    #27003

    Tim Heeter
    Participant

    This is the error I appear to be having…allowed 4 concurrent bookings with same provider. I should also mention I tried the code listed above to recheck at submit but it does not appear to work.

Viewing 4 posts - 1 through 4 (of 4 total)

The forum ‘BirchPress Scheduler’ is closed to new topics and replies.

Comments are closed.