Changing predefined times

I’d like like to add or change the predefined times in the service set-up section.

I have a service gardening business that has a service that is 8 hours long but also has 30 minutes..

Thanks

Tony

  • Hakan
    • The Incredible Smush

    Hi,

    As of V1.1.7, there is an example of this in FAQ section:

    I have a time base of 30 minutes. I have services up to 480 minutes. How can I achieve this?

    The following example lets you select services with durations up to 16*30=480 minutes. Add these codes inside functions.php:

    function increase_service_selections( $n ){

    return 16;

    }

    add_filter( ‘app_selectable_durations’, ‘increase_service_selections’ );

    By chance 16 exactly fits to your case (30*16=480 minutes=8 hours).

    Cheers,

    Hakan

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.