Understanding Product Grouping Options
When you create an order limit rule, the Grouping setting determines how products count toward the limit. Choosing the wrong option is one of the most common causes of limits not working as expected.
The Three Grouping Options
1. Per Product (Most Common)
How it works: Each product in the rule has its own separate counter.
Example: You set a limit of 2 with products A, B, and C in the rule.
- Customer can buy: 2 of A + 2 of B + 2 of C = 6 total items ✅
- Customer cannot buy: 3 of A ❌
Use this when:
- You want to limit how many of each individual product a customer can buy
- Products are independent (buying one doesn't affect the limit on another)
- Running a "limit 2 per product" sale
2. Per Variant
How it works: Each variant (size, color, etc.) has its own separate counter.
Example: You sell T-shirts in S/M/L sizes with a limit of 2.
- Customer can buy: 2 Small + 2 Medium + 2 Large = 6 shirts ✅
- Customer cannot buy: 3 Small ❌
Use this when:
- You want limits applied to each size/color separately
- Stock is tracked per variant and you need fair distribution
- Running a limited drop where customers can get one of each variant
3. Any Item (Shared Counter)
How it works: ALL products in the rule share ONE counter.
Example: You set a limit of 2 with products A, B, and C in the rule.
- Customer can buy: 1 of A + 1 of B = 2 total ✅
- Customer can buy: 2 of A = 2 total ✅
- Customer cannot buy: 2 of A + 1 of B = 3 total ❌
Use this when:
- You want to limit the total quantity across a group of products
- Products are related (e.g., "choose any 2 from this collection")
- Preventing bulk buying across an entire category
- Running a "pick any 2" promotion
Quick Comparison Table
| Scenario | Best Grouping | Why |
|---|---|---|
| "Limit 2 of each product" | Per Product | Each product tracked separately |
| "Limit 2 of each size" | Per Variant | Each variant tracked separately |
| "Limit 2 total from this collection" | Any Item | Shared counter across all |
| Limited edition drop (1 per SKU) | Per Variant | Fair access to each variant |
| "Choose any 2 gifts" promotion | Any Item | Total of 2 regardless of which |
Common Mistakes
❌ Mistake: Using "Any Item" when you meant "Per Product"
Symptom: Customer tries to buy 1 of Product A and 1 of Product B but gets blocked, even though the limit is 2.
What happened: With "Any Item," both products count toward the same limit of 2. So 1+1=2 is allowed, but nothing more.
Fix: Change grouping to "Per Product" if you want 2 of each.
❌ Mistake: Using "Per Product" when you meant "Any Item"
Symptom: Customer buys 2 of each product in a "pick 2" promotion, ending up with 6 items.
What happened: "Per Product" gives each item its own counter, so limits don't stack.
Fix: Change grouping to "Any Item" for shared limits.
How to Change Grouping
- Go to Order Limits in the app
- Click on the rule you want to edit
- Find the "Group By" dropdown
- Select your preferred option: Per Product, Per Variant, or Any Item
- Click Save
Changes take effect immediately for new carts.
Frequently Asked Questions
What's the difference between "Per Product" and "Any Item"?
Per Product gives each product its own independent counter — buying Product A doesn't affect how much of Product B you can buy. Any Item creates a shared counter where all products count together — buying Product A reduces how much of Product B you can still buy.
How do limits count quantities?
Limits count the total quantity of items added to the cart (or purchased, for Customer Purchase Limits). If you add 3 units of a product, that counts as 3 toward the limit. The counting method depends on your Grouping setting — see the comparison table above.
What's the difference between a shared limit and an independent limit?
Shared limit (Any Item grouping): All products in the rule share one counter. If the limit is 2 and you buy 1 of Product A, you can only buy 1 more of any product in that rule.
Independent limit (Per Product grouping): Each product has its own counter. If the limit is 2 and you buy 1 of Product A, you can still buy 2 of Product B because they're tracked separately.
Why is buying Product A blocking Product B?
This happens when your rule uses "Any Item" grouping. With this setting, all products share a single counter. When you hit the limit by buying Product A, you can't buy any more products covered by that rule — including Product B.
Fix: If you want products to have independent limits, change the grouping to "Per Product."
Related Articles
- Setting Up Order Limits and Cart Limits in Shopify — Step-by-step guide to creating your first order limit rule.
- Setting Up Customer Purchase Limits — Complete guide to configuring lifetime and per-customer limits.
- Which Limit Type Should I Use? — Quick comparison of Order Limits vs Customer Purchase Limits.
- Setting Up Lifetime / Once-Per-Customer Limits — Step-by-step guide for creating "one per customer forever" limits.
- Troubleshooting: Why My Order Limits Aren't Working — Diagnose and fix common configuration issues.
- When Do Customers Need to Be Logged In? — Understand login requirements for different limit types.