← Back to documentation

Minimum Order

Create minimum purchase requirements for the entire cart, selected products or variants, or collections. Multiple applicable enabled Minimum Order rules can apply at the same time.

Create a Minimum Order rule

1. Choose a rule category

Choose Entire cart, Products / variants, or Collections.

2. Add minimum requirements

Set the minimum amount for each requirement and enable the requirements you want to use.

3. Choose who this rule applies to

Apply the rule to all customers or use customer-tag targeting.

4. Checkout message

Configure the message customers see when the requirement is not met.

5. Review

Confirm the category, requirements, customer targeting, and message.

6. Save

Save the rule and verify its behavior in the storefront and checkout.

Rule categories

Entire cart

Checks the subtotal for the entire cart.

Products / variants

Checks the applicable subtotal for a configured product or specific variant.

Collections

Checks the subtotal for cart items that belong to the configured collection.

Customer targeting

Minimum Order rules can apply to all customers or use customer-tag targeting. Each requirement keeps its own minimum amount, enabled state, and applicability settings.

How multiple rules work

All applicable enabled Minimum Order rules must be satisfied.

More than one rule can apply to the same cart. Rules that are not applicable to the current cart or customer state do not create an additional requirement.

Checkout message variables

The checkout message can include the following variables:

  • {{ minimum_amount }} — the required minimum amount
  • {{ current_amount }} — the current applicable amount
  • {{ remaining_amount }} — the amount still needed

Cart and checkout behavior

When an applicable Minimum Order requirement is not met, StoreFlow displays a storefront warning and blocks StoreFlow-managed checkout controls.

On supported cart pages, the cart accelerated-checkout container is hidden while Minimum Order or MOQ requirements fail and restored when the cart becomes compliant. This may include theme- or Shopify-generated Shop Pay, PayPal, Google Pay, or similar cart accelerated-checkout controls.

Shopify-hosted Checkout is separate from the Theme App Extension. StoreFlow does not use theme code to hide express-payment methods on the Shopify-hosted Checkout page. Shopify Cart and Checkout Validation provides the server-side enforcement layer for applicable StoreFlow validation rules.

Test your rules

Test carts below and above each minimum, customer accounts that do and do not match configured tags, combinations of applicable rules, cart-page and cart-drawer behavior, and checkout validation.

Repeat testing after theme, app, customer-tag, cart, or checkout configuration changes.

Recommended operating range

Carts containing up to 50 distinct products are within the current recommended operating range. Larger carts require additional validation.

StoreFlow is designed for supported Shopify Online Store 2.0 environments, with Dawn and lightly customized themes preferred.