-
PotterAsked 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 Enterprise SupportReplied 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.
- Add the Form calculation widget to count the total price of your product.
- Use a text field for your Voucher code.
- Now we just need to add a conditional logic that will allow us to get the discounted price, based on the code that you want to use. You might also want to check out our guide about How to Insert Text or Calculation into Field Using Conditional Logic.
Example Code: gift
Discount: 10%
Check out the screencast below to see my results:
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.