Linux 软件免费装
Banner图

Minimum Order Amount for WooCommerce

开发者 cartmend
stickitsibiu
更新时间 2026年8月20日 01:35
PHP版本: 7.4 及以上
WordPress版本: 7.0
版权: GPLv2 or later
版权网址: 版权信息

标签

minimum order amount minimum order value woocommerce minimum order minimum cart total minimum purchase amount

下载

1.3.2

详情介绍:

Small orders that barely cover the box, let alone the postage, quietly eat into your margin — every single day they slip through. Set a minimum order amount and/or a minimum item quantity, and WooCommerce simply won't let a customer check out until their cart is worth fulfilling. No coding, no third-party checkout plugin, no extra JavaScript slowing down your store. One settings tab, a minimum you choose, and a message you write yourself. What it does Pro version (separate plugin) A Pro version with role-based minimums, shipping-zone and category rules, maximum order limits, guest-specific minimums and excluded products is distributed separately on cartmend.com. The free plugin on this page is complete and fully functional on its own.

安装:

  1. Install and activate the plugin (WooCommerce must be active).
  2. Go to WooCommerce → Settings → Min Order.
  3. Enable the rule, set a minimum amount and/or a minimum quantity, write your message, and save.
  4. Test in a private/incognito browser window — admins and shop managers are exempt by design, so testing while logged in as admin won't show the block.

屏幕截图:

  • Storefront notice on cart and checkout when the minimum is not met.
  • Block checkout integration — validation runs through the Store API.
  • WooCommerce → Settings tab — one clean tab, no admin menu clutter.

升级注意事项:

1.3.2 Security hardening and cleanup. Safe update, settings preserved.

常见问题:

Does the minimum apply per product, or to the whole cart?

To the whole cart. The rule checks the cart subtotal and/or the total number of items across all products combined — it is not a per-product or per-category minimum.

Can I exclude certain customer roles or certain products from the rule?

Not at the moment. The only automatic exemption is for store managers and administrators (anyone with the manage_woocommerce capability), so you can always place test orders and manage the store. There is no setting to exclude individual products, categories, or other customer roles.

Can I write my own message to the customer?

Yes. The error message is a plain text field you fully control, with two optional placeholders — {min_amount} and {min_qty} — that get replaced with the actual values. You can write it in any language.

Does it actually stop the customer from checking out, or just show a warning?

It stops them. When the cart is below the minimum, WooCommerce shows your message as an error notice on the cart and checkout pages and refuses to complete the order until the cart qualifies — on both classic and block checkout.

Does it work with the WooCommerce block checkout (Cart and Checkout blocks)?

Yes. The rule is enforced through the WooCommerce Store API, which is what the block-based Cart and Checkout run on, so the same minimum applies whether your store uses the classic shortcode checkout or the block checkout.

Is it compatible with High-Performance Order Storage (HPOS)?

Yes. The plugin declares compatibility with HPOS.

Will it work on a multilingual store?

The message field is plain text, so you can type it directly in whichever language your store uses. The plugin's own interface strings are translation-ready (standard WordPress text domain), so translators can localise the admin screen. There is currently no built-in way to show a different message per language automatically — if you run a multilingual plugin, you would set the message per site/language the same way you translate any other text on that page.

Does it slow my store down?

No. It is a single small PHP file, adds no JavaScript or CSS to the front end, and only runs its check during cart and checkout validation.

更新日志:

1.3.2 1.0.0