Double booking for single slot

Posted · Add Comment

Scheduler Forums BirchPress Scheduler Double booking for single slot

This topic contains 1 reply, has 1 voice, and was last updated by  Mark Ludlam 7 years, 4 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #32142

    Mark Ludlam
    Participant

    Hi there,
    The number of clients for a service is set to 1 and the slot has been double booked (it has two clients).
    Is there any reason for this or way to fix it?
    Thanks.

    #32152

    Mark Ludlam
    Participant

    Had a response from support about this and they provided a fix which seems to work fine.

    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);
    ?>

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

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

Comments are closed.