-
Team_CateringAsked on January 3, 2020 at 3:11 AM
I have a question regarding conditional logic + calculations.
IF CATERING ORDER is > $300 then delivery becomes an option. If delivery is selected, then 5% additional cost is added to their bill.
IF CATERING ORDER is < $300 then pick up at store is required and delivery is not shown as an option.
Can this logic be set up?
Thank you!
-
Vanessa_TReplied on January 3, 2020 at 4:39 AM
Yes that can be done. Please allow me some time to outline the steps for you.
-
Vanessa_TReplied on January 3, 2020 at 4:52 AM
1. Create your products using a Multiple Choice field.
2. Assign calculation values for each product, the value should be the price of the product.
How-to-Assign-Calculation-Value
3. Add a form calculation widget that will calculate the total of the selected products.
How-to-Perform-Form-Calculation-Using-a-Widget
4. Add a field that will hold the option on whether or not they'd like the item to be shipped. Then only show this if the product total is greater than 300.
https://www.jotform.com/help/316-How-to-Show-or-Hide-Fields-Base-on-User-s-Answer
5. Add another field that will hold the shipping cost. Only calculate the value if user choose their products to be delivered.
6. Add another form calculation field that will sum up the product cost and the shipping.
7. Lastly, add your preferred payment processor and set it up so that it will read the total amount from the field on step #6.
https://www.jotform.com/help/275-How-to-Pass-a-Calculation-to-a-Payment-Field
Here's a demo form I've created: https://form.jotform.com/200021736842042
You may clone it if you like. How-to-Clone-an-Existing-Form-from-a-URL
Let us know if you need further assistance.