Viewing 1 replies (of 1 total)
  • Plugin Author codepeople

    (@codepeople)

    There visual setting is for setting the date as a number of days (ex: today +1 day) but there is a workaround to set smaller intervals for setting up the calendar to accept bookings only with some amount of “minutes” before the appointment time, for example allow bookings made at least 120 minutes (2 hours) before the time-slot.

    For doing that edit the plugin file “appointment-booking-calendar/TDE_AppCalendar/all-scripts.js” and in the first line where says:

    var minutes_before =0;

    … change it to:

    var minutes_before = 120;

    After that you may need to clear the browser cache to reload the updated script.

    In addition to that modification the “Minimum available date” must be set to “today”.

    Thank you for using the plugin!

Viewing 1 replies (of 1 total)

The topic ‘Minimum available date options’ is closed to new replies.