No coupon stacking, only one per transaction
modified: make_post_sell/models/cart.py
modified: make_post_sell/views/coupon.py
Summary by CodeRabbit
-
New Features
- Enhanced coupon validation with detailed error messages for issues like coupon stacking, validity, shop total qualifications, and redemption limits.
- Implemented domain-specific coupon display, ensuring coupons are shown only for the correct shop based on domain name.
- Added error handling and redirection for invalid domain access.
Edited by CodeRabbit