|
/ Documentation /Troubleshooting/ How to Prevent Concurrent Bookings for the Same Time Slot

How to Prevent Concurrent Bookings for the Same Time Slot

When multiple customers attempt to book the same time slot at nearly the same time, they may both see the slot as available while selecting their booking details. If one customer proceeds to checkout while another is still completing the booking process, there is a possibility of both attempting to book the same slot.

To avoid this, LatePoint provides the Reserve slot while a customer is checking out option. When enabled, it temporarily holds the selected time slot for a customer during checkout, preventing other customers from booking it until the booking is completed or the reservation expires.

Enable Slot Reservation

  1. Go to LatePoint > Settings > General.
  2. Scroll down to the Availability Logic section.
  3. Enable Reserve slot while a customer is checking out.
  4. Click Save Settings.
reserve slot

Once enabled:

  • The selected time slot is temporarily reserved when a customer reaches checkout.
  • Other customers cannot book the same time slot while it is reserved.
  • If the booking is not completed, the reservation is automatically released after 5 minutes, making the slot available again.


Customize the Reservation Time (Optional)

By default, LatePoint reserves a time slot for 5 minutes. You can change this duration using the following code.

Add the code to your child theme’s functions.php file or use the Code Snippets plugin.

For example, to change the reservation time to 10 minutes:

add_filter( 'latepoint_slot_hold_minutes', function() {
return 10;
} );

Was this doc helpful?
What went wrong?

We don't respond to the article feedback, we use it to improve our support content.

%title %title