0

I want to be able to give a discount on the total order amount instead of calculating for each specific section.

How do I add all the repeating sections together?

1

To create a coupon code, follow the instructions in this FAQ:
https://www.cognitoforms.com/support/54/collecting-payment/creating-coupons-and-discounts

For your calculation, you just need to add the item totals from all your repeating sections together:

=if CouponCode ="SAVE 10" then -(FirstRepeatingSection.Sum(ItemTotal)+SecondRepeatingSection.Sum(ItemTotal)+ThirdRepeatingSection.Sum(ItemTotal))*0.10 else 0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.