0

Currently when someone adds a coupon to a cart which already has a coupon applied, we get the message "This coupon combination is not allowed", leaving the original coupon on the order.

How do we change that behavior so that newly added coupons get applied to the order, while the previous one gets deleted? There is never a case in which two coupons would be allowed on an order.

1 Answer 1

0

The answer is very simple but will only work if you do not want to allow multiple coupons per order.

Visit /admin/store/settings/coupon and uncheck "Allow multiple coupons to apply to a single order"; Save the configuration. Now the most recently applied coupon will be the only one added to the order.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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