CartMend – Minimum Order for WooCommerce

外掛說明

Set a minimum order amount and/or a minimum item quantity for your WooCommerce store — in under a minute. Works on classic and block checkout.

Small baskets can cost more to fulfil than they earn. This plugin lets you require a minimum cart subtotal, a minimum number of items, or both, before a customer can check out. Shoppers see a clear, customisable message telling them exactly what is missing.

Features (all free, fully functional)

  • Minimum cart amount rule (subtotal)
  • Minimum cart quantity rule (total items)
  • AND / OR logic when both rules are set
  • Custom error message with {min_amount} and {min_qty} placeholders
  • Works on classic checkout and block checkout (Store API)
  • Store managers and admins are exempt, so you can always test checkout
  • One clean tab under WooCommerce Settings Min Order — no admin menu clutter
  • HPOS compatible, no jQuery, nothing loaded on the front end

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 quantity, adjust the message, save.
  4. Test in a private window (admins are exempt by design).

常見問題集

Does it work with the WooCommerce block checkout?

Yes. Validation runs through the Store API, so the rule is enforced on both classic and block checkout.

Why can I still check out as admin?

Users with the manage_woocommerce capability are exempt so store owners can always place test orders. Use a private/incognito window to see the rule as a customer.

Can I require both an amount and a quantity?

Yes — set both and choose AND (both required) or OR (either satisfies the rule).

Does it slow my store down?

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

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈CartMend – Minimum Order for WooCommerce〉的開發相關工作。

參與者

變更記錄

1.3.2

  • Hardened settings saving (explicit nonce and capability verification).
  • Escaped all customer-facing notices.
  • The free plugin now contains only the free feature set; Pro features moved entirely to the separately distributed Pro plugin.

1.0.0

  • Initial release: minimum amount + quantity rules, AND/OR logic, custom message, classic + block checkout, admin exemption.