To enforce order limits on a Shopify B2B or wholesale store, use OrderRules to set customer-tag-based minimum order quantities (MOQ), per-account spending caps, and order-level rules — all enforced at checkout through Shopify Functions. Wholesale customers tagged wholesale or b2b see your case-pack minimums automatically; retail customers see no restrictions. The same rule engine works on standard Shopify, Shopify Plus, and Shopify B2B installations.

B2B is Shopify's fastest-growing segment. According to Shopify's 2025 commerce report, B2B order volume on the platform grew over 130% year-over-year, and the average wholesale order on Shopify is 8–12× the value of a typical D2C order. Yet Shopify's native B2B functionality (even on Shopify B2B/Plus) leaves significant gaps around purchasing rules — particularly around MOQ enforcement, account-level spending budgets, and mixing wholesale and retail traffic on a single storefront. This guide covers every order-limit pattern that B2B and wholesale stores need.
B2B operations often run on business hours. Pairing MOQ with automated store hours — e.g., wholesale checkout open Monday-Friday 8 AM-6 PM only — keeps AR processing predictable. See How to Set Store Hours on Shopify for the scheduling layer of the same rule system.
Why Wholesale Stores Need Different Order Limits Than Retail
Wholesale and retail customers buy fundamentally differently, and the rules that protect your margin in each segment are different. Treating them the same is the single biggest mistake B2B merchants make on Shopify.
Retail customer behavior:
- Single-unit or low-quantity orders
- Mix of products across an entire catalog
- Driven by promotions, urgency, scarcity
- High order volume, low average order value
- No purchasing rules beyond your platform's defaults
Wholesale customer behavior:
- Case-quantity or pallet-quantity orders
- Concentrated in specific SKUs they resell or use repeatedly
- Driven by net terms, trade pricing, and recurring purchase cycles
- Lower order volume, very high average order value
- Need purchasing rules that match how their procurement teams think (budgets, MOQs, account limits)
Without wholesale-specific rules, three problems emerge:
- Retail customers stumble into wholesale SKUs and place under-MOQ orders that destroy unit economics.
- Wholesale customers can't tell which products are available to them, leading to abandoned carts and lost B2B revenue.
- B2B accounts overspend their internal procurement budgets, triggering invoice disputes and net-terms write-offs.
Purpose-built B2B order limits solve all three.
The Three Order Limit Rules Every B2B Shopify Store Needs
Rule 1: Customer-tag-based MOQ separation
The foundation of B2B order rules on Shopify is the customer tag. Tag your wholesale accounts with wholesale, b2b, trade-account, vip — whatever taxonomy you use — and then apply MOQ rules conditionally based on those tags.
Example setup:
- Customer tagged
wholesale→ 12-unit MOQ on every product in the Wholesale collection - Customer tagged
retailor no tag → no MOQ, free to buy single units
This is enforced server-side at checkout. A retail customer who somehow stumbles onto a wholesale-only collection can buy whatever they want without hitting the MOQ; a wholesale customer always sees their case minimum. The two experiences coexist on one storefront.
We cover MOQ mechanics in detail in How to Set Minimum Order Quantity on Shopify.
Rule 2: Per-account spending caps with trade budgets
B2B accounts typically have a procurement budget — monthly, quarterly, or annual. Without enforcement, accounts overspend their budgets and either trigger your AR team to chase invoices or generate invoice disputes when finance pushes back.
Example setup:
- Wholesale account with a $5,000/month trade limit → spending cap rule: $5,000 per customer, monthly period
- Annual corporate account with $50,000/year budget → spending cap: $50,000 per customer, yearly period
OrderRules tracks each customer's cumulative spend by customer ID and enforces the cap at checkout. When the limit is hit, the customer sees a clear message ("This account has reached its monthly purchase limit — contact support to request an extension") and orders block until the period resets.
We cover spending caps in Customer Spending Caps for Employee Stores & B2B.
Rule 3: Storewide order caps for production-capacity B2B
Some B2B sellers are also producers — bakeries supplying cafes, breweries distributing to restaurants, contract manufacturers fulfilling wholesale orders. For these stores, production capacity is the constraint, not customer behavior. A storewide daily order cap stops new wholesale orders once the kitchen, brewhouse, or production floor is at capacity, regardless of MOQ.
See How to Limit Daily Orders on Shopify for the storewide-cap mechanics.
Minimum Order Quantities for Wholesale: Patterns That Work
MOQ on wholesale isn't a single rule — it's a system. The patterns that work in practice:
Per-SKU MOQ matching case quantity
If you stock cases of 12 (beverages), 24 (supplements), or 144 (small CPG), set MOQ to the exact case quantity. Your warehouse picks full cases; your wholesale customers buy full cases. Margins protected.
Per-collection MOQ for variety packs
Customers often want a mix. Use a collection-level MOQ ("at least 12 units total from the Mix-and-Match Wholesale collection") rather than per-product. Buyers get flexibility; you still enforce case quantity overall.
Tiered MOQ by account level
Different wholesale tiers can have different minimums:
wholesale-bronzetag → 12-unit MOQwholesale-silvertag → 24-unit MOQ (better pricing, larger commitment)wholesale-goldtag → 48-unit MOQ (best pricing, biggest accounts)
Create separate rules per tag and OrderRules applies the right one based on customer tag at checkout.
Order-level MOQ for mixed wholesale baskets
For wholesale customers who buy across many SKUs, enforce a total cart minimum ("$500 minimum order value" or "100 units minimum across the cart") rather than per-product. This gives flexibility while keeping each order economically viable to fulfill.
Soft launch with retail-only MOQ exemption
If you're transitioning from retail-only to B2B, you can apply MOQs only to customers with the wholesale tag and leave retail completely untouched. Test the wholesale experience on a small set of accounts, refine the rules, then expand the tagging.
Customer-Tag Strategy for Mixed Retail + Wholesale Stores
If you run both retail and wholesale on one Shopify store (very common), your customer-tag taxonomy is the foundation everything else sits on. A working pattern:
| Customer segment | Tag(s) | OrderRules rules applied |
|---|---|---|
| Default retail | none | No MOQ, no spending cap, standard limits |
| VIP retail | vip | Higher per-customer caps, early-access flash sales |
| Wholesale Tier 1 | wholesale, tier-1 | 12-unit MOQ, $2,000/mo spending cap |
| Wholesale Tier 2 | wholesale, tier-2 | 24-unit MOQ, $5,000/mo spending cap |
| Corporate / Trade | corporate, trade-account | 48-unit MOQ, $50,000/yr spending cap, custom net terms |
| Employee | employee | Quantity caps, spending cap matching benefit allocation |
OrderRules supports multiple rules per tag combination, so a single customer can have several rules apply at checkout. The most restrictive applicable rule wins.
Tag management tip: automate tagging with Shopify Flow (or your account onboarding workflow) so the right tag is applied the moment a wholesale application is approved. Manual tagging at scale becomes error-prone.
Case Pricing vs Order Limits: When You Need Both
A common B2B question: "Should I just sell at case pricing instead of enforcing MOQ?"
Case pricing: list "Case of 12" as a single product priced at the case total. Customer buys one "case." Simple, works without any app.
Order limits: keep individual products listed at per-unit prices, enforce MOQ at checkout. Customer buys 12 units. More flexible, requires an app.
You usually need both — but at different points in your catalog:
| Scenario | Use case pricing | Use MOQ rules |
|---|---|---|
| Highly standardized case packs (beverages, supplements) | ✓ | — |
| Mixed-variety case (12 bottles, 4 flavors of customer's choice) | — | ✓ |
| Inventory tracking at per-unit granularity matters | — | ✓ |
| Retail also sells the same SKU | — | ✓ |
| Customer expects per-unit pricing on product pages | — | ✓ |
| B2B-only catalog with no retail overlap | ✓ | Optional |
In most modern Shopify B2B stores, MOQ rules win because they preserve per-unit pricing, per-unit inventory, and per-unit SEO — while still enforcing case-quantity purchasing.
Step-by-Step: Setting Up B2B Order Limits with OrderRules
Here's the end-to-end setup for a typical wholesale store running both retail and B2B on one Shopify storefront.
Step 1: Define your customer tag taxonomy
Decide your tag names and document them somewhere your team can reference. A minimal taxonomy:
wholesale— anyone with an approved trade accounttier-1,tier-2,tier-3— pricing/MOQ tier modifiercorporate— corporate accounts with annual budgets- (optional)
vipfor high-value retail customers
Step 2: Tag your existing wholesale customers
In Shopify admin, go to Customers and add the appropriate tags to your existing wholesale accounts. For bulk tagging, export to CSV, edit, and re-import — or use Shopify Flow to automate based on signup form fields.
Step 3: Install OrderRules
Install OrderRules from the Shopify App Store. B2B-relevant features (per-customer purchase limits, spending caps, customer-tag filtering, CSV bulk import) require the Pro plan at $9.99/month.
Step 4: Create MOQ rules per tier
In Product Limits or Collection Limits:
- New rule → Limit type: Minimum
- Quantity: your tier minimum (12, 24, 48)
- Scope: product / collection
- Customer segment: tag =
wholesaleANDtier-1(or however you've structured it)
Repeat for each tier. You can also create a fallback rule for wholesale without any tier tag.
Step 5: Create spending cap rules per account
In Customer Limits:
- New rule → Limit type: Total Spend
- Amount: $2,000, $5,000, $50,000 (whatever matches the tier's trade budget)
- Period: monthly, quarterly, or yearly
- Customer segment: tag matching the tier
Step 6: Add storefront messaging
Wholesale customers should see their MOQ and remaining spending budget on product and account pages. Use OrderRules' dynamic template variables:
{REM_QTY}— units needed to meet MOQ{MAX_QTY}— total MOQ- For spending:
{remaining},{used_qty},{period_display}
Example: "Wholesale MOQ: units. Add more to your cart."
Step 7: Test the full flow
Before going live, log in as a wholesale test customer (or use Shopify admin to impersonate) and walk through a full checkout. Verify:
- The MOQ is shown on product pages
- Sub-MOQ orders block at checkout with a clear message
- Spending cap counter increments correctly on successful orders
- Retail customers (no tags) are unaffected
The block message should reference Shopify Functions enforcement — meaning it works through Shop Pay, Apple Pay, Google Pay, and any direct checkout URL. We covered the Shopify Functions server-side enforcement model in detail in a separate post.
Step 8 (large catalogs): CSV bulk import
For stores with hundreds or thousands of wholesale SKUs, manual rule creation isn't practical. OrderRules Pro includes CSV bulk import — export the template, fill in product handles, MOQ values, and customer-tag conditions in a spreadsheet, and upload. Details in Shopify Bulk Product Limits: CSV Import Guide.
See It Live: B2B Demo Store
The OrderRules demo store at orderrules.myshopify.com includes a B2B / Wholesale collection with working MOQ rules, customer-tag-conditional pricing tiers, and spending cap demonstrations. Walk through it before installing on your production store — most B2B merchants find it easier to evaluate the rule engine on a working store than from documentation alone.
What to test on the demo:
- Add a single unit of a wholesale SKU to the cart, try to check out — see the MOQ block.
- Add 12 units of the same SKU, check out successfully.
- Mix multiple SKUs to test collection-level MOQ.
- Log in as the demo wholesale customer to see customer-tag-conditional rules.
How OrderRules Compares to Other B2B-Capable Order Limit Apps
Most Shopify order limit apps were built for retail and bolted on customer-tag rules later. OrderRules treats customer-level enforcement as a first-class feature.
| App | Customer-tag MOQ | Per-customer spending caps | Storewide caps | CSV bulk | Compare |
|---|---|---|---|---|---|
| OrderRules | Yes (Pro) | Yes (Pro) | Yes | Yes (Pro) | — |
| Avada Order Limits | Yes | No | No | No | vs Avada |
| MinMaxify | No | No | No | No | vs MinMaxify |
| KOR Order Limits | Yes (Pro) | No | No | No | vs KOR |
| MinCart | Limited | No | No | No | vs MinCart |
| Pareto Order Limits | Limited | No | No | No | vs Pareto |
| LIMITER (MageComp) | No | No | No | No | vs LIMITER |
For B2B-specific use cases, Avada is the closest competitor on customer-tag MOQ alone. OrderRules is the only app combining customer-tag MOQ + per-customer spending caps + storewide caps + CSV bulk in one tool. See the full comparison hub for ratings, pricing breakdowns, and use-case recommendations.
Frequently Asked Questions
Does Shopify B2B / Shopify Plus include MOQ enforcement?
Native Shopify B2B (on Plus) supports company profiles, catalog visibility, and net terms — but does not include configurable MOQ enforcement or per-customer spending caps. OrderRules adds these via Shopify Functions and works on both standard Shopify and Shopify B2B/Plus.
Can I run wholesale and retail on the same Shopify store?
Yes — and most B2B merchants do, because Shopify B2B/Plus is significant additional cost. With OrderRules, customer tags separate the two experiences: wholesale customers see MOQ and spending caps; retail customers see standard checkout. No store duplication needed.
How do I tag customers as wholesale automatically?
Use Shopify Flow with a trigger on customer creation. When a new customer signs up through your wholesale application form, Flow can add the wholesale tag (and a tier tag) automatically. Manual tagging works for small accounts; Flow scales to hundreds without errors.
Does the customer see the MOQ before checkout?
If you add OrderRules' storefront template variables ({REM_QTY}, {MAX_QTY}) to your product pages or cart, yes. We strongly recommend this — wholesale customers abandon carts when they hit an unexplained checkout block. Showing the MOQ on the product page eliminates that friction.
Can I have different MOQs for different wholesale tiers?
Yes. Use customer tags like tier-1, tier-2, tier-3 and create separate OrderRules rules per tag combination. A customer tagged wholesale AND tier-2 gets the tier-2 MOQ; a customer with only wholesale (no tier) gets the fallback rule.
How do spending caps work with net terms?
OrderRules tracks cumulative spend at the moment of order placement, regardless of payment method. For net terms accounts, the cap applies when the order is created — so an account with a $5,000/month cap can place up to $5,000 in orders even before any invoice clears. Combine with Shopify's payment terms feature for full net-terms support.
Do MOQ rules work with Shopify draft orders?
Draft orders created in admin bypass storefront validation by design (it's a manual order entry path for your team). The validation kicks in for any order created through the storefront, Shop Pay, Apple Pay, or headless. If you want admin-created orders to also respect MOQ, you can flag those for review in your fulfillment workflow.
Can I export wholesale order data to my ERP or accounting system?
OrderRules doesn't replace your ERP integration — but it doesn't interfere with it either. Order data flows through Shopify's standard order API, so any ERP, accounting, or B2B portal integration you use (NetSuite, QuickBooks, SAP, custom) continues working unchanged.
Next Steps
If you run a B2B or wholesale store on Shopify and you're currently handling MOQ enforcement manually, through theme code, or by separating retail and wholesale into two stores — there's a better way.
Install OrderRules from the Shopify App Store to get customer-tag-conditional MOQ rules, per-account spending caps, and CSV bulk management — built for B2B, works on standard Shopify and Shopify Plus, starting at $9.99/month for Pro features.
For the underlying mechanics, see How to Set Minimum Order Quantity on Shopify, Customer Spending Caps for Employee Stores & B2B, and The Complete Guide to Shopify Order Rules. Or see the full ranked list of order limit apps to evaluate OrderRules against every alternative for B2B use cases.