What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    How to offer 10% discount for 5 or more orders using quantity field?

    Asked by cheekyherbs on July 19, 2016 at 02:35 AM
    Hi there. The question looks really easy but I'm having trouble getting it to relate to my needs. All I want is some of our products (but not all) to have a 10 per cent discount when the customer orders 5 or more (using a Quantity field). But the new layout doesn't seem to have the same options? Your help would be greatly appreciated because I don't want to use the "special pricing" feature because then I would need to add a ridiculous amount of numbers in the dropdown field.
  • Profile Image
    JotForm Support

    Answered by Chriistian on July 19, 2016 at 04:09 AM

    Unfortunately, your requirement is not possible to achieve in the payment field without using the Special Pricing feature. A possible workaround would be to use regular number fields as your quantity field and then use the Calculate condition to calculate the discount. Please allow me some time to setup the guide. Regards.

  • Profile Image
    JotForm Support

    Answered by Chriistian on July 19, 2016 at 04:37 AM

    Please follow the guide below:

    1. Add a number field as your product's quantity.

    2. Then add a calculation field where we will pass the price based on the quantity.

     

    3. Now we add a Update/Calculate condition for the quantity field.

    4. If you have more products, follow the steps 1 to 3 for the rest of the products.

    5. Now we add a Final Total calculation field. This is where we will calculate the total price that the user will be charged with. 

    6. Add the payment field to your form and select Custom Amount. To get the amount from the Final Total, please follow this guide: How to pass a calculation to a payment field.

    Once all is setup, you should now have a form that will provide a 10% discount for selected products.

    Here's a demo form so you can see it in action: https://form.jotform.com/62001591957961 

    You can clone this demo form to your account to see my setup. How to clone an existing form from a URL

    You can also hide the "Total" and "Final Total" calculation fields from your form to make it easier to view.

     

  • Profile Image

    Answered by cheekyherbs on July 25, 2016 at 11:55 PM

    Thanks for your reply and working this out. I have played around with it and it certainly would work, but I can't do it under the product wizard, therefore having nice product picture thumbnails (I also use the Lightbox app). While this is a great workaround, it does not appear to be a solution for me. Thanks so much, I'm sure your hard work will benefit someone else more directly. I'll have to stick with the 5-pack separate items for now - it means people can't get the discount unless they order multiples of five but that doesn't really hurt anyone.

  • Profile Image
    JotForm Support

    Answered by Chriistian on July 26, 2016 at 12:16 AM

    Thank you for updating us on this concern. I understand that you prefer to have the Product Lightbox for the images which can only be used with the payment field, so this solution may not be suitable for your specific requirements. Your workaround looks like a great alternative. If you have any other concerns, feel free to contact us again. Cheers.