The total price with the promo code is not applied in the email

  • Andreannelr
    Asked on January 5, 2017 at 10:54 PM

    Hi! There is a promo code in my form that gives a reduced price. The total price is adjusted when the promo code is entered but it is not in the confirmation e-mail.

    How can I make the total price right in the confirmation e-mail?

  • Özlem JotForm Developer
    Replied on January 6, 2017 at 1:48 AM

    Hi,

    I have checked your form and cloned it to my side. It is seen that you provide promotion codes to people and you define these promotion codes by conditions.  

    Could you please give me some time to make more investigation in your form and conditions?

    In addition, could you please confirm me about the following values?

    If Table (8 places) 1200$ is equal to 0 and Place - 175$ is equal to 1, Prix Total is -50 for Promotion Code A........0  or -100 for Promotion Code  I.........0.                

    I'll back to you as soon as possible.

    Thank you.

  • Özlem JotForm Developer
    Replied on January 6, 2017 at 5:38 AM

    Hi again,

    I have worked on your form. 

    There was a conflict between Form Calculation Widget and Update/Calculate Conditions. In your form, Form Calculation Widget coincides with the Update/Calculate Conditions and also eliminated the Update/Calculate Condition. Therefore, even we enter the right promo code, Prix Total Form Calculation Widget gets the total of Table (8 places) and Place - 175$.

    I have removed the Table (8 places) and Place - 175$ from the Form Calculation Widget and add some additional conditions for the Prix Total field. 

    Please have a look at the following demo form: https://www.jotform.com/form/70052567997973

    You can clone this form to your side: How-to-Clone-an-Existing-Form-from-a-URL

    You can also have a look at the following instruction about how to fix the problem in your calculation.

    #1- Open the Form Calculation Widget and delete all fields in it.

    #2- Open the Conditions and edit the first Update/Calculate Condition.

    The total price with the promo code is not applied in the email Image 1 Screenshot 50

     

     

    #3- Set the condition like in the image below and Save the changes.

    The total price with the promo code is not applied in the email Image 2 Screenshot 61

     

    The total price with the promo code is not applied in the email Image 3 Screenshot 72 

    Finally, when you submit the form, you can see the correct result in your emails and submissions.

    The total price with the promo code is not applied in the email Image 4 Screenshot 83

     

    If you need any other supports, please feel free to let us know.

    Thank you.

     

  • Andreannelr
    Replied on January 6, 2017 at 12:01 PM

    Thank you so much!