Linux 软件免费装
Banner图

WMGRs Minimum Order Quantity & Amount for WooCommerce

开发者 woomanagers
更新时间 2026年10月11日 14:40
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

minimum order amount wholesale min max quantity minimum order quantity quantity step

下载

1.0.0

详情介绍:

Minimum Order Quantity & Amount for WooCommerce lets you control how much customers can buy — per product and for the whole order. Set a minimum order quantity (MOQ), a maximum quantity, a quantity step so products sell in packs or cases, and a minimum order amount the cart must reach before checkout. Out of the box, WooCommerce lets anyone buy one of anything. That is fine for retail, but it does not work for wholesale suppliers who sell by the case, manufacturers with a minimum production run, or shops where small orders cost more to pick, pack and ship than they earn. Without order limits you end up cancelling orders, emailing customers to change quantities, or absorbing the loss on orders that were never worth sending. This plugin enforces your rules everywhere a quantity can change — on the product page, when an item is added to the cart, when the cart is updated, and at checkout — with clear messages that tell the customer exactly what to fix. Minimum and maximum quantity per product Sell in packs and cases with quantity steps Minimum order amount for the cart Enforced everywhere, explained clearly Lightweight by design Who it is for How it works
  1. Install and activate the plugin.
  2. Go to WooCommerce → Order Limits and set storewide defaults: minimum quantity, maximum quantity, quantity step and minimum order amount. Leave any field empty to switch that rule off.
  3. To give a product its own limits, edit the product, open Product data → Inventory and fill in the minimum quantity, maximum quantity and quantity step.
Part of the WMGRs B2B range Minimum Order Quantity & Amount is one of a set of free B2B tools for WooCommerce from WooManagers: Free and premium Everything described above is free, with no limits on products or orders. A premium version is planned at woomanagers.com for stores that need rules per user role and category, role-based minimum order amounts, customisable messages and product exclusions.

安装:

  1. In your WordPress admin go to Plugins → Add New, search for "WMGRs Minimum Order Quantity", then install and activate it. WooCommerce must be active.
  2. Go to WooCommerce → Order Limits and set the storewide defaults you need. Empty fields mean no rule.
  3. To set limits on a single product, edit it and open Product data → Inventory. Fill in the minimum quantity, maximum quantity and quantity step, then update the product.

屏幕截图:

  • Quantity rules on the product page — a product sold in packs of 6.
  • The cart shows how far the order is below the minimum order amount, and checkout is blocked.
  • Per-product minimum quantity, maximum quantity and quantity step in Product data → Inventory.

升级注意事项:

1.0.0 First release.

常见问题:

How do I set a minimum order quantity in WooCommerce?

For every product, go to WooCommerce → Order Limits and enter a default minimum quantity. For a single product, edit it and enter a minimum quantity under Product data → Inventory. The product page quantity box then starts at that number, and smaller quantities are refused.

How do I set a minimum order amount in WooCommerce?

Go to WooCommerce → Order Limits and enter a minimum order amount. Customers whose cart subtotal is below it see a message with the amount still needed, and checkout is blocked until they reach it.

Is the minimum order amount before or after shipping and tax?

Before. The cart subtotal (the total of the products, without shipping and tax) is compared with your minimum order amount.

How do I sell products in packs or cases?

Set a quantity step — for example 6 for packs of six or 12 for cases of twelve. Combine it with a minimum of the same number so the first allowed quantity is one full pack.

How do steps work with a minimum?

Steps count from the minimum. Minimum 6 with step 6 allows 6, 12, 18… Minimum 5 with step 10 allows 5, 15, 25…

Can I limit the maximum quantity of a product per order?

Yes. Set a maximum quantity storewide or on the product. Customers cannot add more than that number of the product to a single order. On a product, 0 means unlimited.

Can different products have different limits?

Yes. Storewide defaults apply to every product, and any product can override them with its own minimum, maximum and step in Product data → Inventory. A product field left empty falls back to the storewide default.

What does the customer see if their cart breaks a rule?

A clear error notice on the product page, cart or checkout — for example "The minimum order quantity for Sunglasses is 6." or "Sunglasses must be ordered in multiples of 6." Checkout is blocked until the cart is fixed.

Does it work with variable products?

Yes. Limits set on the parent product apply to all its variations, and the quantity box on the product page follows them. Each variation in the cart is a separate line and is checked against the product's limits.

Do limits apply per variation or per product?

Limits are defined on the product and checked per cart line. Two different variations are two lines, each checked against the product's limits.

What happens if a customer adds more of an item that is already in the cart?

The combined quantity is checked. If the cart already holds 6 and the maximum is 10, adding another 6 is refused with a message.

Does it work with the block cart and checkout?

Yes. The rules are checked through WooCommerce's standard cart validation, which runs on both the classic and the block cart and checkout.

Will it slow down my store?

No. The plugin adds no database tables and no front-end scripts or styles. It uses WooCommerce's own quantity and cart validation hooks.

Is it compatible with HPOS?

Yes. The plugin does not touch order storage and declares compatibility with WooCommerce High-Performance Order Storage.

What happens to my settings if I uninstall?

Deleting the plugin removes its settings and the limits saved on your products. Your products and orders are not otherwise changed.

更新日志:

1.0.0