Set minimum orders and pack sizes

Northwind Coffee wants hotels and cafés to order at least $250, and to buy one coffee line only in cases of 6. You will create two order rules and test the buyer messages.

Before you start

Create the rules

  1. Create a minimum order value rule

    Go to Bulk Orders › Order Rules and click Add rule. Choose Order limit. Enter the Title Minimum $250, set Limit type to Minimum order value, Value 250.00 and Counted per to Whole order.

    Limit section of an order rule

  2. Choose who and what

    Under Eligibility, tick Customer groups and pick Cafés & Restaurants. Under Applies to choose All products. Click Save rule.

    Eligibility section

  3. Create a pack-size rule

    Click Add rule again and choose Quantity increments. Set Sell in multiples of to 6, Count quantity by to Variant quantity, and pick the product or collection under Applies to. A minimum is rounded up to a multiple, a maximum down: a minimum of 10 becomes 12.

  4. Write the buyer messages

    Open Messages buyers see at the bottom of the page. Defaults work, for example Below minimum: "Wholesale orders start at {{ minimum }}. Add {{ remaining }} more to check out." The Pack size message must contain {{ pack_size }}.

    Messages buyers see

  5. Review the checkout settings

    Under At checkout and on product pages, keep Block checkout when a cart breaks a rule on, and switch on Show rules on product pages and Show a message above the Checkout button when the cart breaks a rule. Two more options:

    Option What it does
    Suggest the nearest pack size in the cart message Adds a hint such as "Try 12." to the message. The app never changes quantities in the cart.
    Count limits Per rule, as set on each rule (recommended) uses each rule's own counting. Always on the whole order counts every rule on the whole order.

    Click Save.

    At checkout and on product pages settings

Check it works

As a test buyer, add $195.60 of products to the cart. Above the Checkout button you see "Wholesale orders start at $250.00. Add $54.40 more to check out." Then try to check out: Shopify's checkout blocks the order until the cart is valid. The pack rule shows "Sold in packs of 6" under the quantity box.

[!INFO] The cart only tells the buyer; checkout does the blocking. The Checkout button in the cart is not disabled, and the app never changes quantities in the cart. Changes reach checkout within about a minute.

Yes. Add a cart field in the Cart fields section of the same page and mark it required. See How to collect a PO number and other cart fields.

Related articles

← Offer Net 30 terms with Pay later Add wholesale shipping rates →