Hi Pam, You can apply a discount based on the answer (coupon code) entered by the user for the short answer question (Apply coupon code). Please note that any user who enters the correct code will get a discount.
Add coupon code option (You can skip this if you have already added this)
Login to Neartail > click on the form to open it > Edit page will be displayed > In the Neartail Edit page, click on the Add field icon > enter the title "Coupon Code", select Short answer question
Calculate discount
In the Neartail Edit page, click on the Add price field icon > select Discount and click Next > select Custom formula and click Next > enter the below formula and click Create.
IFS(Coupon Code == "LOYAL15", 0.15 * Order Amount, 0)
Note: Coupon codes are case sensitive. You can change the coupon code and discount percentage as required. You can also add multiple coupon codes or provide fixed discounts.
IFS(Coupon Code == "LOYAL15", 0.15 * Order Amount, Coupon Code == "WELCOME10", 10,0)
Calculate amount to be paid (You can skip this if you have already added this)
In the Neartail Edit page, click on the Add price field icon > select Net amount and click Next > select Standard calculation using NETTOTAL() formula and click Next > click Create.
Please try this and confirm.
what do i do if I want to do a percentage off or a specific dollar amount? I want to give some people a percentage off and some people a set dollar amount
You can either multiple by the percentage by order amount (field in the form) or add a fixed amount as shown in the example below.
IFS(Coupon Code == "LOYAL15", 0.15 * Order Amount, Coupon Code == "WELCOME10", 10,0)
LOYAL15 - 15% off order amount
WELCOME10 - $10 discount
Comments (4)
Jun 6, 2024
Hi Pam, You can apply a discount based on the answer (coupon code) entered by the user for the short answer question (Apply coupon code). Please note that any user who enters the correct code will get a discount. Add coupon code option (You can skip this if you have already added this) Login to Neartail > click on the form to open it > Edit page will be displayed > In the Neartail Edit page, click on the Add field icon > enter the title "Coupon Code", select Short answer question Calculate discount In the Neartail Edit page, click on the Add price field icon > select Discount and click Next > select Custom formula and click Next > enter the below formula and click Create. IFS(Coupon Code == "LOYAL15", 0.15 * Order Amount, 0) Note: Coupon codes are case sensitive. You can change the coupon code and discount percentage as required. You can also add multiple coupon codes or provide fixed discounts. IFS(Coupon Code == "LOYAL15", 0.15 * Order Amount, Coupon Code == "WELCOME10", 10,0) Calculate amount to be paid (You can skip this if you have already added this) In the Neartail Edit page, click on the Add price field icon > select Net amount and click Next > select Standard calculation using NETTOTAL() formula and click Next > click Create. Please try this and confirm.
Jun 6, 2024
what do i do if I want to do a percentage off or a specific dollar amount? I want to give some people a percentage off and some people a set dollar amount
Jun 6, 2024
You can either multiple by the percentage by order amount (field in the form) or add a fixed amount as shown in the example below. IFS(Coupon Code == "LOYAL15", 0.15 * Order Amount, Coupon Code == "WELCOME10", 10,0) LOYAL15 - 15% off order amount WELCOME10 - $10 discount
Jun 6, 2024
i will try it again. it didn’t work for me tge first time i did this.
Add your comment
Add photo