• Resolved Andreas

    (@andreas1597)


    Hi there,

    I can change the start quantity of the first quantity field with the field called
    ‘Start quantity at’. But this doesn’t quite work if is set the value to zero. Then the start quantity shown on the frontend is still 1 rather than zero. For higher values it seems working fine.

    I would like to have all quantity fields with a value of zero when loading my calender.

    Thanks in advance, Andy.

Viewing 1 replies (of 1 total)
  • Plugin Author codepeople

    (@codepeople)

    Hi,

    For that purpose go to the menu “WP Time Slots Booking Form” >> “General Settings >> Edit Scripts” and paste the following code in the “Edit Script” area:

    jQuery(document).on('showHideDepEvent', function(){
       (function($) {
    $(".sbquantity1").val(0).change();
       })(jQuery);
    });

    Thank you for using the plugin!

Viewing 1 replies (of 1 total)

The topic ‘Start quantity for first quantity field’ is closed to new replies.