Minimum Checkout Amount for WooCommerce

Changelog

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.

Plugin Website
Visit website

Author
Marco Gagnon
Version:
1.3.0
Last Updated
May 6, 2026
Active Installs
10
Requires
WordPress 5.0
Tested Up To
WordPress 6.9.4
Requires PHP
7.2

Share Post

Join our newsletter.

Get insights into what’s happening at ChangelogWP right in your inbox. We don’t believe in spam.