Conditionally apply a discount based on selected option

  • 416soclean
    Asked on June 5, 2024 at 10:43 PM

    Hello, I have added a new field to my form and am not sure how to update my calculations. If a client selects that they are a repeat client, I want to apply a 5% discount to their overall costs (Real Time Quote). It does not matter if they require service for their condo or house.

    Can you guide the best way to achieve this?


    Thanks.

  • Sonnyfer JotForm Support
    Replied on June 6, 2024 at 1:05 AM

    Hi 416soclean,

    Thanks for reaching out to JotForm Support. I'm sorry you're having trouble with your payment form. Seems one of my colleagues has already provided a step-by-step solution on how to implement a conditional discount when your form-filler selected the repeat-client option. You can check it out here.

    Keep us updated and let us know if you need any more help.

  • 416soclean
    Replied on June 23, 2024 at 9:50 PM

    Hello there. Thank you for this. How do I achieve this when I also have a variable of condo versus house? So, I first need to identify if condo_calculation is filled or house_calculation is filled and then apply a discount if the client is a repeat client.

    Or do I take the reat_time quote amount and then apply the discount and copy that into a new field?

    Thanks.

  • Sim JotForm Support
    Replied on June 23, 2024 at 10:22 PM

    Hi 416soclean,

    I think it would be easier to add coupons using the Coupons feature in Form Builder. After that, you can simply send then the coupon if those specific customers are either for condo or for house:

    1. Open your form in Form Builder and select the Product List field.

    2. Click on the List icon on the right side of the field.

    3. Under the Coupons tab, click on Create Coupon.

    4. Enter a Coupon Code and choose a Coupon Limit.

    Conditionally apply a discount based on selected option Image 1 Screenshot 30

    5. Select a Discount Type and Rate.

    6. In the Apply Discount section, select All, then set the minimum order amount.

    7. Now, just click on Save and that's it. You're done.

    Conditionally apply a discount based on selected option Image 2 Screenshot 41

    Now, your customers can use your coupons to get a discount when they buy your products.

    Give it a try and let us know how it goes.