When two valid discounts make one bad price
The promotion worked. The margin did not.
A sale price, an automatic promotion, and a customer code can each be correct on their own. The costly surprise is the final price they produce together.
Theme warnings are not a dependable safeguard: checkout can be reached from several paths, and the price needs protection where Shopify evaluates the cart. Discount Floor Guard is designed to enforce the boundary in cart and checkout, while leaving the store's normal promotion workflow in place.
Write the pricing policy as a boundary
“Do not discount sale items again” is one boundary. “Never sell this variant below $40” and “do not exceed 25% off in total” are two others. Keep them separate. It is a slightly more boring setup, but six months later it will still be possible to see which business decision each rule protects.
A rule can protect the whole relevant catalog or narrow the scope to products, variants, or collections. Country, customer tags, and Shopify B2B status handle legitimate exceptions without weakening the policy for everybody else.



