Title: Minimum Checkout Amount for WooCommerce
Author: Marco Gagnon
Published: <strong>2025 年 4 月 17 日</strong>
Last modified: 2026 年 5 月 20 日

---

搜索插件

![](https://ps.w.org/minimum-checkout-amount/assets/banner-772x250.png?rev=3386094)

![](https://ps.w.org/minimum-checkout-amount/assets/icon-256x256.png?rev=3386094)

# Minimum Checkout Amount for WooCommerce

 作者：[Marco Gagnon](https://profiles.wordpress.org/aisimpleplugin/)

[下载](https://downloads.wordpress.org/plugin/minimum-checkout-amount.1.3.1.zip)

 * [详情](https://cn.wordpress.org/plugins/minimum-checkout-amount/#description)
 * [评价](https://cn.wordpress.org/plugins/minimum-checkout-amount/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/minimum-checkout-amount/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/minimum-checkout-amount/#developers)

 [支持](https://wordpress.org/support/plugin/minimum-checkout-amount/)

## 描述

Minimum Checkout Amount helps WooCommerce store owners enforce a minimum order requirement.

If a customer’s cart does not reach the required minimum amount, the plugin will:

 * Show a clear error message on the cart page
 * Block checkout until the requirement is met
 * Optionally include taxes in the calculation
 * Allow excluding specific users from the minimum requirement
 * Automatically exclude Administrators and Shop Managers

This plugin is lightweight, fast, and fully compatible with WooCommerce HPOS.

### Features

 * Set a minimum checkout amount
 * Show a message when the minimum is not met
 * Include or exclude taxes in the calculation
 * Exclude specific users from the minimum requirement
 * Automatically excludes Admin and Shop Manager roles
 * HPOS compatible

### WooCommerce Compatibility

This plugin is fully compatible with WooCommerce High-Performance Order Storage (
HPOS).

## 屏幕截图

 * [[
 * Settings page
 * [[
 * Error message on cart page

## 安装

 1. Upload the plugin files to the `/wp-content/plugins/minimum-checkout-amount` directory,
    or install it via the WordPress Plugins screen.
 2. Activate the plugin.
 3. Go to **WooCommerce  Settings  Minimum Checkout Amount**.
 4. Set your minimum amount and preferences.

## 常见问题

### Does this plugin support HPOS?

Yes. The plugin is fully compatible with WooCommerce HPOS.

### Can I exclude specific users?

Yes, you can exclude individual users in the plugin settings.

### Can I apply the minimum checkout amount to specific user roles?

Administrators and Shop Managers are automatically excluded. No other role-based
exclusions are supported at this time.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Minimum Checkout Amount for WooCommerce」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Marco Gagnon ](https://profiles.wordpress.org/aisimpleplugin/)

「Minimum Checkout Amount for WooCommerce」插件已被翻译至 2 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/minimum-checkout-amount/contributors)
为本插件所做的贡献。

[帮助将「Minimum Checkout Amount for WooCommerce」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/minimum-checkout-amount)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/minimum-checkout-amount/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/minimum-checkout-amount/)，或通过
[RSS](https://plugins.trac.wordpress.org/log/minimum-checkout-amount/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/minimum-checkout-amount/)。

## 更新日志

#### 1.3.1

 * Updated: Tested up to WordPress 7.0

#### 1.3.0

 * Fixed: Custom cart message was never loaded due to a mismatched option key between
   settings and helpers.
 * Improved: Removed the “Place Order” button disabling logic because the cart redirect
   already prevents customers from reaching the checkout page.
 * Fixed: Order validation logic was inverted: user exclusions were checked after
   the minimum amount, causing excluded users to still fail validation.
 * Fixed: Order validation function was defined but never hooked, making it inactive.
 * Fixed: Typo in the checkout message option key (minimuncheckoutamout) caused 
   the saved message to never be retrieved.
 * Fixed: Trailing whitespace and tab characters were included in the default and
   placeholder values of the cart message field.
 * Security: Added missing ABSPATH guard in validation.php to prevent direct file
   access.
 * Fixed: WooCommerce active check now uses class_exists() inside plugins_loaded,
   improving compatibility with network-activated plugins on Multisite.
 * Fixed: User selector field now guards against (array) false returning [false]
   when the option is not yet set.
 * Improved: Extracted duplicated exclusion logic into shared helper functions to
   avoid repetition across notices.php.

#### 1.2.4

 * Improved code quality and compliance with WordPress coding standards.
 * Fixed minor issues related to settings handling and plugin uninstall cleanup.
 * Enhanced internationalization and escaping in admin settings.
 * No functional changes for end users.

#### 1.2.3

 * Fixed: i18n issue in settings description string.

#### 1.2.2

 * Fixed: i18n issue in settings description string.

#### 1.2.1

 * Updated: text strings for better translation coverage.

#### 1.2.0

*Added: customizable minimum checkout warning message setting.
 *Added: support 
for dynamic placeholders {amount} and {difference} in warning messages. *Preserve:
d compatibility with WooCommerce tax calculations based on plugin settings. *Refactored:
validation logic for improved reliability and maintainability. *Removed: redundant
validation methods to prevent duplicate enforcement. *Improved: message translation
fallback handling. *Minor performance and code cleanup.

#### 1.1.7

 * Added: full HPOS compatibility for WooCommerce.
 * Added: uninstall cleanup option to remove plugin settings.
 * Improved: validation logic and excluded Administrator & Shop Manager roles automatically.
 * Cleaned: and reorganized code for performance and maintainability.
 * Updated: translations (fr_FR, es_ES).
 * Various: small fixes and enhancements.

#### 1.1.6

 * Improved: compatibility with recent WooCommerce versions.
 * Updated: text strings for better translation coverage.
 * Minor security and code-quality improvements.

#### 1.1.5

 * Added: option to include taxes in minimum order calculation.
 * Enhanced: admin settings layout.
 * Improved: cart page validation messages.

#### 1.1.4

 * Added: feature to exclude specific users from the minimum amount requirement.
 * Improved: error handling and message formatting.

#### 1.1.3

 * Better handling of manual “pay for order” flows.
 * Added: nonce validation to improve security.
 * Fixed: inconsistent message display on the checkout page.

#### 1.1.2

 * Improved: minimum amount validation logic.
 * Enhanced: WooCommerce compatibility.
 * Minor performance improvements.

#### 1.1.1

 * Added: initial settings page.
 * Added: option to display messages on the cart and shop pages.
 * Improved: translation templates.

#### 1.0.0

 * Initial release.
 * Enforces a minimum checkout amount with basic settings.

## 额外信息

 *  版本 **1.3.1**
 *  最后更新：**2 周前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 5.0 或更高版本 **
 *  已测试的最高版本为 **7.0**
 *  PHP 版本 ** 7.2 或更高版本 **
 *  语言
 * [English (Canada)](https://en-ca.wordpress.org/plugins/minimum-checkout-amount/)、
   [English (US)](https://wordpress.org/plugins/minimum-checkout-amount/) 和 [French (Canada)](https://fr-ca.wordpress.org/plugins/minimum-checkout-amount/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/minimum-checkout-amount)
 * 标签
 * [cart total](https://cn.wordpress.org/plugins/tags/cart-total/)[checkout](https://cn.wordpress.org/plugins/tags/checkout/)
   [minimum amount](https://cn.wordpress.org/plugins/tags/minimum-amount/)[woocommerce](https://cn.wordpress.org/plugins/tags/woocommerce/)
   [WooCommerce checkout](https://cn.wordpress.org/plugins/tags/woocommerce-checkout/)
 *  [高级视图](https://cn.wordpress.org/plugins/minimum-checkout-amount/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/minimum-checkout-amount/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/minimum-checkout-amount/reviews/)

## 贡献者

 *   [ Marco Gagnon ](https://profiles.wordpress.org/aisimpleplugin/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/minimum-checkout-amount/)