Hey people I just came up with a way to apply coupon codes into the forms. It goes like this:
1- You create a text field, you can call it Coupons or whatever.
2- You create a checkbox. This checkbox will be the one that applies the discount. You can call it Apply 20% discount or as you want.
3- You make this checkbox available for calculations and give it the value it should discount from the total. So if your product is woth $50 and your coupon is 20% the value you should add is 10.
4- You add a substraction to the main calculation of the price, for the value of the discount checkbox. So the calculation should look like TOTALPRICE – DISCOUNTCHEKCBOX
5- You add a rule for the checkbox to only be visible when the content of the “Coupons” field is equal to “[yourcouponcode]”.
And there you have it. When someone fills the textfield with your coupon code, the discount chekcbox will show up. When they tick the checkbox, the discount applies. Hope I explained myself well, english is not my main language, have a good day!
And t