Duration and schedule interval conflicts

My client has several service providers, and she would like to set up services that last 90 minutes each, but she needs a schedule interval of 60 minutes, since she can assign different providers to the same service at different times. Is there a way to set it up with Appoinments+? Thanks!

  • Hakan
    • The Incredible Smush

    Hi,

    set up services that last 90 minutes each, but she needs a schedule interval of 60 minutes

    What do you mean by schedule intervals? Does it mean every appointment should start at start of the hour, like 9:00, 10:00, etc? Then how can 90 minutes services be possible? Do you have 30 minutes breaks? Or something else?

    Can you elaborate and give an example based on real schedules?

    Cheers,
    Hakan

  • bin_huang
    • Flash Drive

    Yes, because she has several tour guiders, and say she wants to provide a tour that last 90 minutes, say from 9:00-10:30, but she wants to have tour times every hour, so people can schedule 9:00 tour, 10:00 tour, 11:00 tour, etc. She will just assign another tour guide to 10:00 tour. Does that make sense?

  • Hakan
    • The Incredible Smush

    We can assume that 30 minutes after each appointment is not usable in practice. So you can do like this:

    - Set time base as 60 minutes
    - Set service duration as 120 minutes.
    - Include these codes inside functions.php of your theme to correct the duration display on the front end:

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

    Now, appointments will be available for 9:00, 10:00, etc and each appointment will reserve 2 slots. On the front end client will see 90 minutes.

    Cheers,
    Hakan

  • aecnu
    • WP Unicorn

    Greetings bin_huang,

    We have not heard back from you as to the status of this issue.

    If you are still having an issue please let us know so that we may try to get you fixed up as soon as possible by choosing to check mark this ticket as unresolved below and posting any new errors or symptoms you are noticing.

    This action will also bring your ticket up front back in plain view again within the ticket system.

    Thank you for being a WPMU DEV Community Member!

    Cheers, Joe

  • aecnu
    • WP Unicorn

    Greetings @bin_huang,

    Just touching base with you to let you know that our lead developer is indeed requesting the URL of you appointments page so he can possibly address the issue you are having.

    Please post the URL at your earliest convenience so that he may check out first hand what is going on there.

    Please advise and have a GREAT upcoming weekend in any event!

    Cheers, Joe

  • Ben
    • New Recruit

    I have a similar problem - basically just need my members to be able to book shifts though my site, lasting either 4 or 8 hours, but would like them to be able to start their shifts at either 9am, 10am, 11am etc. if possible.

    Don't mind setting specific shifts either but thought it was worth asking...?

    thanks!! :slight_smile:

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.