E-commerce discount logic is deceptively complex. Every rule has exceptions, every exception has edge cases.
In my work on Shopify Plus stores, I've seen teams accidentally stack discounts that cost thousands, or block legitimate promotions because the rules conflicted. The business rules are scattered across code, configs, and tribal knowledge.
Testing these scenarios manually is tedious and error-prone. You can't possibly check every combination of discounts, customer types, and product categories.