• Resolved neocreo

    (@neocreo)


    I need to limit the bookings so we have at least two days notice. Is there any way to change this in the settings? Right now it is all days, including today that is available.

    My client need time to prepare for the visit.

    My guess is that I could probably do a manual change somewhere so that the datepicker do today + 2 or something.

    Any idea how this would work?

    • This topic was modified 8 years, 2 months ago by neocreo. Reason: forgot my notification
Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter neocreo

    (@neocreo)

    I found a way to hack this.
    It is basically in the easy-appointments > js folder.
    edit either frontend.js or frontend-bootstrap.js and do a change for the datepicker minDate.
    minDate: 0 can change to minDate: 2.

    However, I think this would be a good setting to have to allow for services that has this specific need of preparation.

    Great plugin! Nicely organized and easy to plan too.

    Plugin Author Nikola Loncar

    (@loncar)

    Hi,

    there is option for that. You can block user from making appointment if there is less then 2 hours to that appointment for example. It’s called Block time in Settings > Customize. It’s in minutes so 1 day is 1440 minutes.

    Best regards,
    Nikola

    Thread Starter neocreo

    (@neocreo)

    OOOOOH OK! Now that explains it. I thought that referred to blocks of time in the calendar.
    Clearly I didn’t understand the clarification on that option… doh!

    I can now remove the ugly hack I made.

    Thank you for your patience.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Advance notification – only book 2 days in advance’ is closed to new replies.