Margin first
Reject risky discount contexts before they become margin problems.
Guide
Discount leakage happens when a valid promotion applies in a cart where the merchant never intended to discount margin-sensitive items.
Reject risky discount contexts before they become margin problems.
Prebuilt guardrails avoid a sprawling discount rules builder.
Cart context is evaluated ephemerally and discarded after the decision.
Start with the smallest guardrail that prevents the most expensive failure. Add complexity only after the simple rule proves useful.