DEV Community

klyx
klyx

Posted on

How Shopify Discount Stacking Actually Works (and Where Merchants Get Surprised)

How Shopify Discount Stacking Actually Works (and Where Merchants Get Surprised)

Discount stacking behavior surprises merchants more than almost any other pricing feature — not because it's broken, but because the combination rules aren't obvious until you hit the exact scenario that breaks your assumption.

🏷️ The Three Combination Classes

Shopify groups discounts into product, order, and shipping classes, and by default only one discount per class applies at checkout — two product-level discounts don't automatically stack just because both are active.

🔗 Stacking Requires Explicit Setup

To let a product discount and an order discount apply together, that combination has to be explicitly configured when creating the discounts — it's opt-in, not automatic, which is exactly where merchants expect stacking and don't get it.

⚙️ Function-Based Discounts Add Another Layer

Discounts built with Shopify Functions (like bundle or volume discounts) follow the same class rules but are less visible in the admin UI when debugging a stacking question — worth testing the exact real-world cart scenario directly rather than assuming from the discount list alone.


Originally published on the KLYX blog.

Top comments (0)