How can I have a coupon code in my store?

  • Profile Image
    Asked on March 07, 2017 at 10:01 AM

    My store is built using the "Form Calculator" widget. (The order is calculated in a hidden field and than fed into the "Purchase Order" number on bottom. I am doing that because a user could edit the final number in the Form Calculator box...)

    I would like to add 2 coupon's to the form, one that will give a $15 discount and one that will take 5% off the total.
    I have been trying via a 'Calculate Field' condition but I am not sure what the right way to insert the math is. 

    How can I do this? 

  • Profile Image
    Answered on March 07, 2017 at 12:03 PM

    I have checked your JotForm and see that the condition is set to calculate the final total directly to the Purchase order field. In order to get the calculation discount on the total, you'll be required to add a separate calculation field to the form and then send the result to the Purchase Order. 

    Please see the screencast below that can help you with adding a new calculation field and calculate the discount to send the final to Purchase order field.

    Hope this information helps! 



  • Profile Image
    Answered on March 07, 2017 at 03:05 PM

    My form allows for checkout via paypal or cash by using conditions to either show the paypal store integration, or hide it. 

    Here is a new form

    As you can see, when you use the discount code correctly it adjusts everything. If however you put in the wrong code, it will make the "after discount" option go to 0. This somehow does not affect the paypal checkout number, however it does bring the chach option to 0!

    Am I doing something wrong? What can I do to make this work? 

    I see you have the ability to go into my form and edit it, feel free to do an edit and leave it for me to look at if you can! 

    Thanks for the help.

  • Profile Image
    Answered on March 07, 2017 at 06:18 PM

    You can fix the flaw in the condition logic by assigning another condition that will update the After Discount value if the user edited/changed the Coupon code.



    You can test my form


    We actually do not edit your own form. We just clone/copy them on your end so that we can review and test them.

    Let us know if you need further assistance.