• Resolved 7Dallas5

    (@7dallas5)


    I am trying to set up 90 minute appointments, but I want the extra 30 minute padding between appointments in case of bleed-over. Is there a way to do this? Alternatively, is there a way to set specific appointments aka open slots at 10 am, 2 pm, and 4 pm – instead of letting the client choose 9:30?

    https://ww.wp.xz.cn/plugins/appointments/

Viewing 5 replies - 1 through 5 (of 5 total)
  • David

    (@ugotsta)

    Hi there @7dallas5,

    Hope you’re doing great today! 🙂

    This free version doesn’t include built-in padding options but that’s possible to add with a slight bit of custom code like detailed here:
    http://premium.wpmudev.org/forums/topic/appointment-padding-time#post-406737

    Code like that can be added to your theme’s functions.php file or through a plugin like Code Snippets:
    http://ww.wp.xz.cn/plugins/code-snippets/

    Currently, extra code would be the way to handle custom timing and padding like that. Perhaps that bit of code will do the trick?

    Cheers,
    David

    Thread Starter 7Dallas5

    (@7dallas5)

    I tried both versions you suggested, but I still see appointments at 10, 11:30, 1:00 PM, 2:30 PM, 4:00 PM, and 5:30 PM. I’m totally confused because break is set to 12 to 2, and overwork is set to no. Additionally, for my example day,, the schedule shows an appt at 1PM ( appts are set to 90 mins ) so why is there even an option for 1PM?

    Am I just confused here?

    David

    (@ugotsta)

    Hi @7dallas5,

    Thanks for your reply. I should have clarified previously, you’ll likely want to setup your service durations for 2 hours, which I believe should also solve your further booking concern.

    In that case, you’ll want to use code like so:

    function modify_duration_text( $text, $duration ) {
    return '90 minutes';
    }
    add_filter('app_confirmation_lasts', 'modify_duration_text', 10, 2);

    That way, the user just sees 90 minute durations when booking.

    Would that maybe work to sort this for you?

    Cheers,
    David

    Thread Starter 7Dallas5

    (@7dallas5)

    I think this got it. Thanks!

    David

    (@ugotsta)

    Hi @7dallas5,

    You’re most welcome, and glad that’s working for ya! 🙂

    Just let me know if I can be of any further assistance with this. I’ll be happy to help!

    Cheers!
    David

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Appointment 'Padding'’ is closed to new replies.