To set a Shopify wholesale minimum order quantity for tagged customers, create a validation that checks two conditions together: the signed-in customer has your wholesale tag, and the relevant product quantity is below your minimum. When both are true, block checkout and show the quantity the buyer must add. This lets you enforce a wholesale MOQ without applying the same limit to retail shoppers.

For example, a store can require customers tagged wholesale to buy at least 12 units of each wholesale SKU while letting retail customers buy 1 unit. The rule should evaluate the customer tag and quantity with AND logic, then return a clear correction message.

This guide shows how to plan, configure, and test that workflow with CartBlock. It also explains when Shopify's native B2B quantity rules may be the better fit.

What is a wholesale minimum order quantity?

A wholesale minimum order quantity, or MOQ, is the smallest number of units a wholesale buyer can purchase in one order. Merchants use MOQs to protect case-pack economics, picking efficiency, shipping costs, or supplier requirements.

Before you create a rule, decide what the minimum counts:

  • Per variant: at least 12 units of one size or color.
  • Per product: at least 12 units across all variants of the product.
  • Across a collection: at least 24 total units from a wholesale collection.
  • Across the cart: at least 50 total units in the order.

These policies are not interchangeable. Write the requirement in one sentence before opening the app. For this tutorial, the policy is:

A signed-in customer tagged wholesale must buy at least 12 units of each selected wholesale product.

If buyers may mix variants to reach 12, confirm that your quantity condition counts the product total rather than each variant separately. A rule that checks each variant could reject a valid cart containing 6 blue and 6 black units.

When should you use customer tags for a Shopify wholesale MOQ?

Use a customer-tag condition when wholesale status already lives on the Shopify customer profile. It is a practical fit for stores that serve retail and wholesale buyers through the same storefront but apply different order policies to each group.

Customer tags work well when:

  • your team approves wholesale accounts before adding the tag;
  • wholesale buyers sign in before checkout;
  • the same products are available to retail and wholesale customers; and
  • the MOQ should apply only to the tagged group.

Tags are only as reliable as the process that maintains them. Document who adds and removes the wholesale tag, how approval is recorded, and what happens when an account changes status.

If you use Shopify's native B2B features and catalogs, consider native quantity rules first. Shopify lets merchants set minimum, maximum, and increment rules on product variants in B2B catalogs. Native B2B and direct catalog assignment to companies and company locations have plan-dependent availability, so check Shopify's current B2B catalog requirements for your plan.

Use CartBlock when you need a configurable validation that combines a customer tag with cart, product, variant, or collection conditions. Its current Shopify App Store listing includes minimum quantity and customer tags among its supported order-limit rule types.

Before you configure the Shopify minimum order quantity by customer tag

Prepare these details first:

  1. Customer tag: Use one exact tag, such as wholesale, and verify its spelling and capitalization in Shopify Admin.
  2. Minimum: Define the numeric threshold, such as 12 units.
  3. Counting scope: Decide whether the minimum applies per variant, product, collection, or cart.
  4. Product scope: List the products, variants, collections, or product tags covered by the policy.
  5. Guest behavior: Decide whether guests can buy normally, must sign in, or should be prevented from buying wholesale-only items.
  6. Correction message: Tell the buyer exactly how many units are required and what to do next.

The combined customer-tag and minimum-quantity workflow is available in CartBlock. Verify the interface labels, counting scope, storefront surfaces, and plan availability in your installed version before activation because product interfaces and entitlements can change.

How to set a wholesale minimum order quantity in CartBlock

The exact labels may differ by app version, but the rule should express the same logic: wholesale customer AND quantity below minimum AND, where needed, a matching product scope.

1. Create a basic validation

Open CartBlock from Shopify Admin, select the option to create a validation, and choose Basic validation. Give the rule an operational title your team can recognize, such as:

Wholesale MOQ — 12 units per selected product

Avoid vague internal names like “Rule 4.” A descriptive title makes testing and future changes safer.

2. Choose where the rule runs

Configure the validation so it prevents an order from completing when the MOQ is not met. If your setup supports an earlier cart or checkout interaction, you can also show the error before the buyer reaches the final order action.

Shopify's cart and checkout validation framework runs server-side and can block checkout progress when a cart does not meet the defined criteria. Validation functions support accelerated checkout, but CartBlock's Shop Pay block must be enabled separately where supported. Follow CartBlock's Shop Pay setup guide and test every accelerated method enabled on your store.

3. Add the wholesale customer-tag condition

Select the customer-tag condition and set it to match the exact wholesale tag used in Shopify Admin:

  • Customer has tag wholesale

This identifies the group that should receive the MOQ. Do not use “customer does not have tag” for this policy, because that would target retail customers and guests instead.

4. Add the minimum quantity condition

Add the relevant quantity condition and set the threshold to 12. Because the validation should fire only when the buyer has too few units, configure the condition to match a quantity below 12.

Confirm what the selected condition counts. Depending on your policy, you may need a product-, variant-, collection-, or cart-level quantity condition. For a per-product MOQ, a matching result should look like this:

  • Customer has tag wholesale; AND
  • selected product quantity is less than 12; THEN
  • block checkout.

If the quantity condition itself does not limit the rule to the intended merchandise, add a product, variant, collection, or product-tag condition and keep the conditions joined with AND logic. CartBlock's owned guide shows the current basic workflow for adding product or product-tag conditions.

5. Write a useful error message

Tell the buyer what failed and how to correct it. For the 12-unit example:

Wholesale orders require at least 12 units of this product. Add more units or remove the product to continue.

If variants can be mixed, say so. If the minimum applies to each variant, make that explicit instead. Avoid exposing internal tag names or presenting the error as a technical failure.

6. Review the logic and save

Read the summary as a sentence before saving:

If the customer has the wholesale tag, and the selected product quantity is below 12, block checkout and show the MOQ message.

Check that every condition uses AND logic. An OR condition could block every wholesale order regardless of quantity, or block every low-quantity retail order regardless of customer status.

How should guest customers behave?

A customer-tag rule can identify a wholesale buyer only when the cart is associated with that customer profile. A guest does not provide the wholesale tag.

For a rule that targets customers who have the wholesale tag, an unsigned guest will usually fall outside the wholesale MOQ condition. That may be correct if guests should shop under retail rules. If wholesale products or prices should be unavailable to guests, add a separate eligibility or sign-in control rather than reversing the MOQ condition.

Communicate the sign-in requirement before checkout. A short product-page or cart message can prevent a buyer from building a cart under the wrong customer state.

How to test a wholesale MOQ rule in Shopify

Use dedicated test customers and start a fresh session after changing a tag. Test at least this matrix before enabling the validation for live traffic:

Customer state Product quantity Expected result
Signed in, tagged wholesale 11 Checkout blocked with MOQ message
Signed in, tagged wholesale 12 Checkout allowed
Signed in, tagged wholesale 24 Checkout allowed
Signed in, no wholesale tag 1 Checkout allowed under retail policy
Guest 1 Retail or sign-in policy applies
Signed in, tagged wholesale 1 unrelated product Checkout allowed if unrelated products are out of scope
Signed in, tagged wholesale 6 + 6 across variants Result matches the written variant-mixing policy

Repeat the test on the product page, cart, standard checkout, and any accelerated checkout method your store offers. Verify both enforcement and message placement. Shopify notes that validation errors can appear in compatible cart themes and during checkout, but the actual shopper experience depends on your store configuration.

Common wholesale MOQ mistakes

Counting the wrong unit

“12 per product” and “12 per variant” produce different results. Test a mixed-variant cart so the configured count matches the policy buyers were promised.

Applying the rule to every customer

If retail shoppers can buy singles, the wholesale tag and low-quantity condition must both be true. Review the AND/OR logic carefully.

Letting accelerated checkout skip the test plan

Cart and checkout validation functions support accelerated checkout, but CartBlock's Shop Pay block must be enabled separately where supported. Enable the CartBlock block in Shop Pay, then verify Shop Pay and every other accelerated method enabled on your store without assuming that one successful path covers the others.

Showing the minimum only at checkout

Blocking an 11-unit cart is necessary; telling the buyer about the 12-unit requirement earlier is better. Display the MOQ on the product page, in wholesale ordering instructions, or in the cart where your theme and setup allow it.

Treating an MOQ as volume pricing

An MOQ controls eligibility. It does not automatically create a wholesale price or quantity discount. Configure pricing separately through the wholesale system or catalog that owns it.

Wholesale MOQ launch checklist

Before launch, confirm that:

  • the customer tag matches Shopify Admin exactly;
  • the minimum and counting scope are documented;
  • product, variant, or collection scope is narrow enough;
  • all conditions use the intended AND/OR logic;
  • tagged, untagged, and guest customers have been tested;
  • the error states the required quantity and correction;
  • standard and accelerated checkout paths behave as expected;
  • wholesale pricing is configured separately; and
  • someone owns ongoing customer-tag maintenance.

Enforce wholesale order minimums before fulfillment

A Shopify wholesale minimum order quantity works best when the policy is explicit: define who counts as wholesale, what the minimum counts, and which products it covers. Then combine the customer tag and quantity threshold in one checkout validation and test every customer state.

Explore CartBlock on the Shopify App Store to see how its customer-tag and minimum-quantity rules can help enforce the policy before an order is placed. Confirm the exact condition labels, plan availability, and supported surfaces in your installed version before enabling the rule.

Frequently asked questions

Can Shopify set a minimum order quantity only for wholesale customers?

Yes. Shopify's native B2B catalogs support variant-level quantity rules, while a validation app can combine customer criteria with quantity and product conditions. Choose the approach that matches your plan, wholesale setup, and counting requirements.

Can a customer tag trigger a different minimum quantity?

Yes. A validation can check whether the signed-in customer has a specified tag and block checkout when the relevant quantity is below the required threshold. Test untagged and guest customers separately.

Can wholesale buyers mix variants to meet the MOQ?

Only if the rule counts quantity across those variants. If the condition evaluates each variant independently, 6 units of one variant plus 6 of another will not satisfy a 12-unit per-variant minimum.

Does a wholesale MOQ also apply a volume discount?

No. A minimum quantity prevents an ineligible order from proceeding; it does not set a different unit price. Configure wholesale or volume pricing separately.

What should the checkout error say?

State the minimum and the correction. For example: “Wholesale orders require at least 12 units of this product. Add more units or remove the product to continue.”