How to set product default quantity to zero?

  • Guan_Ruth
    Asked on April 15, 2025 at 12:20 AM

    How to set product default quantity to zero? Image 1 Screenshot 20

    This is super confusing for someone putting a request for order input but not being able to select 0. If I have a different input field, how do I get the image next to the input quantity in a clean way.

  • Raymond JotForm Support
    Replied on April 15, 2025 at 12:37 AM

    Hi Ruth,

    Thanks for reaching out to Jotform Support. Unfortunately, it's not possible to set zero as the default quantity of your products. This is to prevent products from being selected with zero quantity, and without a payment being made. As long as the tickbox is not checked for the product, it will not be added to the order regardless of the quantity indicated.

    Alternatively, you can use other basic fields, Assign calculation Values, and Perform Calculations using a widget. Let me show you How to Assign Calculation Values to your field options:

    1. In Form Builder, click on your Single Choice field, and on the Gear icon next to it.
    2. Next, click on the Options tab on the right.
    3. Enable the Calculation Values and indicate the values for each option.
      How to set product default quantity to zero? Image 1 Screenshot 30

    The calculation values can be used not only with Single Choice field but with other fields also, such as Dropdown, and Multiple Choice element. Next, it's also possible to use the Form Calculation widget to perform calculations with these Values. They can also be combined with Number fields. Let me show you an example:

    1. In Form Builder, click on the Add Element button on the left, and under the Widgets tab, click on the Form Calculation widget.
    2. Next, click the Add Field button to add fields in your calculation, and use the Mathematical operators to perform your calculation.
    3. Click on the Save button and that's it.How to create a sales calculation form Image 2 Screenshot 81 Screenshot 41

    Here's an example of how it would work:

    How to set product default quantity to zero? Image 2 Screenshot 52 That's it. If you'd like to use an online payment integration, you'll have to pass the calculation to your payment integration. This guide will show you how to do that. If you need further step-by-step instructions, let us know with your preferred payment provider so we can guide you further.

    Give it a try and let us know if you need any help.

Your Answer