Mechanic Get Mechanic

Shopify Function · Cart and checkout validation

Set a $100 minimum order for wholesale customers

Require a $100 cart subtotal for buyers tagged wholesale. Retail buyers can check out below the minimum.

How the rule works

  1. When
    A buyer tagged “wholesale” has a cart subtotal below $100.
    Then
    Block checkout and ask the buyer to bring the subtotal up to $100.

What shoppers see

Wholesale cart under $100
Checkout pauses with the message “Bring your wholesale order subtotal to at least $100.”
Retail cart at the same subtotal
The shopper can continue through checkout.

Set it up in your shop

Choose the condition that blocks checkout and write the message buyers will see. Test a blocked cart, then make the change the message asks for.

Open the rule as a draft in Mechanic. Test it with your products before publishing.

Customize this Function in Mechanic