How to add minimum order quantities to a Wix store using Velo
Built-in checkout requirements for standard rules, and custom Velo development when the business logic gets more specialised.
Built-in checkout requirements for standard rules, and custom Velo development when the business logic gets more specialised.
Not every online store can sell products in quantities of one.
Wholesale businesses, manufacturers, food suppliers, promotional product companies, packaging suppliers, and bulk retailers often need customers to purchase a minimum number of units before an order can be completed.
This requirement is commonly known as a Minimum Order Quantity (MOQ).
Wix now provides built-in checkout requirements for many common quantity rules. For more specialized business logic, however, custom development with Velo can still provide additional flexibility.
A Minimum Order Quantity defines the smallest number of units a customer can purchase for a product or order.
For example, imagine a wholesale store sells mugs with an MOQ of 12. A customer adds:
The website should recognize that the quantity is below the required minimum and prevent checkout or display a message asking the customer to increase the quantity. Once the customer changes the quantity to:
the order can continue. This type of rule can help businesses manage production, packaging, shipping, and wholesale economics.
An MOQ can be useful when selling products where individual-unit orders are inefficient. Common examples include:
Wholesale customers may be expected to purchase products in batches.
Certain food products may only be practical to sell in quantities such as 6, 12, or 24.
Branded merchandise may require a minimum production quantity.
Manufacturers may only accept orders above a specific quantity.
Boxes, labels, containers, and other supplies are frequently sold in bulk.
The requirement can therefore be part of the store's operational model rather than simply a website feature.
A major difference from the original version of this article is that Wix now provides a Checkout Requirements app that can handle several common rules without custom code. Wix currently supports:
For example, a store can create a rule requiring customers to purchase at least three units of a particular product. If the requirement isn't met, the merchant can choose whether to:
The built-in Checkout Requirements app is useful for standard requirements. But some businesses need more complicated rules. For example:
These scenarios may require custom development. That's where Wix Velo can be useful.
A custom Velo implementation can follow a simple process.
Each product can have an associated minimum quantity.
The values can be stored in a CMS collection or another appropriate data source.
When the customer reaches the cart, the system checks the products currently in the cart.
The customer's quantity is compared with the product's MOQ. Customer quantity: 7 · Required quantity: 10. The system identifies that the requirement hasn't been met.
The site can then show something like:
Minimum order: 10 units. Please add 3 more units to continue.
Once the requirement is satisfied, the customer can proceed. This approach was the central technical concept demonstrated in the original Brain Quest article.
Live MOQ example ↗Try the working Wix minimum order quantity demoVelo becomes particularly useful when your business rules go beyond a simple minimum number. A custom implementation can potentially support logic such as:
Native Wix functionality handles standard rules. Velo is useful when the business logic becomes more specialized.
Imagine a wholesale packaging business. Its rules might be:
A standard checkout rule may work for some of these requirements. But if the company later wants different rules based on customer type, order history, location, or contract status, a custom Velo solution can provide more control.
The user experience matters just as much as the technical rule. Avoid displaying a vague error such as:
Instead, tell the customer exactly what they need to do. Better:
This product has a minimum order quantity of 20 units. Please add 6 more units to continue.
Clear messages reduce confusion and make the ordering process easier.
These two concepts are different.
The customer must purchase a certain number of units. Example: minimum 20 candles.
The customer's total order must reach a specific monetary amount. Example: minimum order value of $100.
Wix currently supports minimum order subtotals as well as product quantity requirements.
Minimum order quantities are an important part of many eCommerce business models.
If your requirement is straightforward, Wix's Checkout Requirements functionality may be enough.
If your store requires custom logic, dynamic validation, customer-specific rules, or more advanced workflows, Velo can extend the standard Wix eCommerce experience.
The right approach depends on how your business actually processes orders.
Yes. Wix's Checkout Requirements functionality can currently enforce minimum and maximum product quantities.
Yes. Checkout Requirements can be applied to specific products.
Velo can be used when your requirements go beyond standard checkout rules and require custom business logic.
Yes. Wix Stores supports minimum order subtotals.
Customer-specific minimums, custom cart messages and validation built in Velo.
Start a project →