Can I Set a Minimum WooCommerce Order Amount?

Checkout blocked with a clear message when the cart total falls below a minimum or above a maximum order amount

How WooCommerce Order Limits Are Implemented

The validation hooks into WooCommerce's checkout process before an order is allowed to be placed, checking the cart's total against the configured minimum and/or maximum, and adding a clear checkout notice explaining the requirement if the total falls outside that range — rather than a silent block, which would just confuse customers.

add_action( 'woocommerce_checkout_process', function() {
    $minimum = 25;
    if ( WC()->cart->get_subtotal() < $minimum ) {
        wc_add_notice(
            sprintf( 'A minimum order of %s is required to check out.', wc_price( $minimum ) ),
            'error'
        );
    }
} );

Common Reasons Stores Do This

  • A minimum order amount is often used to offset the fixed cost of fulfilling small orders (packaging, handling), making very small orders unprofitable to process.
  • A maximum order amount is less common but sometimes used for fraud-risk management, or to require a different, manually reviewed process for unusually large orders.
  • Category or product-specific minimums (rather than a store-wide one) are also possible with more targeted logic, useful for a wholesale section with its own minimum distinct from retail.
  • Clear messaging matters — a vague error, rather than one explicitly stating the required minimum/maximum, leaves customers confused about how to actually resolve it.

Implementing It Properly

  1. Use the woocommerce_checkout_process hook (or a dedicated plugin) to validate the cart total against the desired range.
  2. Write a clear, specific error message stating the actual minimum/maximum and how to resolve it.
  3. Test with carts right at, just above, and just below the threshold to confirm the boundary behaves as intended.

Need conditional order minimums built for a specific product category or customer type? See custom WooCommerce development.

Available for new projects

NEXT STEP

Rather have it fixed than keep reading?

Based in Bangladesh — serving clients worldwide. Tell me what's happening and you'll have a reply within one working day.

  • Reply within one working day
  • Fixed quote before work starts
  • UK, EU and US hours covered