Services over 2 hours long in Appointments+

I can only seem to add services that last up to 75 minutes Hakan, I need to add up to 2 hour treatment times, is that easy enough?

  • julian_young
    • WPMU DEV Initiate

    Hi Hakan,

    I did read the FAQ but didn't see anything that referenced the time blocks for the service settings.

    I need 15 minutes as my time base and up to 2 hour appointments in the services dropdown (Duration (mins)). I tried updating the Additional Time Base as you suggested but this seems to prevent me from having 15 minute appointments.

    Anything else I can do? Thanks!

  • Hakan
    • The Incredible Smush

    Ah, sorry I misunderstood your question.

    Add these codes inside functions.php of your current theme. It will allow up to 15 * 16 = 240 mins service definitions.

    function increase_service_selections( $n ){
    return 16;
    }
    add_filter( 'app_selectable_durations', 'increase_service_selections' );

    Cheers,
    Hakan

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.