• Resolved mgerney

    (@mgerney)


    I am trying to restrict the Timepicker hours to the open hours of the store. I put this in:
    add_action( ‘wooccm_js_timepicker_additional_args’, ‘custom_wooccm_js_timepicker_additional_args’ );

    function custom_wooccm_js_timepicker_additional_args() {
    ‘minTime’: ‘6:00am’,
    ‘maxTime’: ‘4:00pm’,
    ‘showDuration’: true
    }
    But it isn’t working – the site goes blank. I’m sure I have a comma or something out of place but can’t find it. Please help

  • The topic ‘Timepicker Hour Ranges’ is closed to new replies.