How to add the formula from the coupon code to the calculations.

  • Profile Image
    toppick
    Asked on September 08, 2016 at 11:53 PM

    Hi I created a coupon code but I dont know how to add the formula. I like to set $10 off on each transaction. Would you be able to help me with this please?

     

    Thank you

  • Profile Image
    Chriistian
    Answered on September 09, 2016 at 01:52 AM

    I see you are using conditions to pass the calculated result to the calculation field. I also noticed that you have already setup a formula for the coupon code inside your Total Discount field.

    To add the discount to the "This Project Will Cost You" calculation field, you simply need to add the Total Discount field to the formula of the condition and subtract it from the total price as seen below. Do the same to the rest of the conditions with the calculation field and you're all set.

    By doing so, if a coupon code is entered and the Total Discount has a value then that value will be subtracted from the final price, but if there is no coupon code then there won't be any discount.

    Furthermore, since you are already using conditions to calculate the price, you do not need to also add a formula inside the Calculation Field so you can simply remove the formula inside there. Otherwise, having formula inside the calculation field and the conditions would cause a conflict with your calculations.

    Please let us know if you need further assistance.
    Regards.