Is is possible to apply a discount to the total, rather than the subtot

  • Potter
    Asked on December 22, 2022 at 4:55 PM

    Is is possible to apply a discount to the total, rather than the subtotal. It would be great to offer gift vouchers

  • Lorelie JotForm Support
    Replied on December 22, 2022 at 9:53 PM

    Hello Potter,

    Thank you for reaching out to Jotform Support. As a workaround, it is possible when you construct your products using regular fields so you can add discounts in the total calculation. Let me show you how to do it :

    • Use a Multiple choice element for your product items.
    • Add a value for each Product to be used in the calculation.

    1671761974 63a51036440d9  Screenshot 10

    1671762440 63a512087cb32  Screenshot 21

    Example Code: gift

    Discount: 10%

    1671763388 63a515bc52809  Screenshot 32Check out the screencast below to see my results:

    1671763570 63a51672d5320  Screenshot 43

    You can find my demo form here. If you would like to take a look closer, feel free to clone my form to your account to get access to it. Click here to see how to clone the form.

    Give it a try and let us know if you have any other questions.