How to create an order rule

An order rule sets a condition a wholesale cart must meet before checkout, such as a minimum order value or a pack size. This guide shows how to add a rule and the settings every rule has.

Before you start

Add the rule

  1. Click Add rule

    Open Bulk Orders › Order Rules and click Add rule in the row under the tabs. In the Select rule type window, choose Order limit, Quantity increments or Buy one get one. You can go back with Change type on the next screen.

  2. Fill in the rule

    Enter a Title (only your staff see it), then set the details for the type. Choose who it is for under Eligibility and which products it covers under Products.

    The Limit section of a new order limit rule

  3. Choose who it is for

    Under Eligibility, tick one or more options. Nothing is ticked by default. A buyer matches when any ticked option matches.

    Option Who it covers
    All customers Every shopper, signed in or not. While it is ticked, Signed-in customers and Guest customers are switched off ("Included in All customers.").
    Signed-in customers Every customer who is signed in, wholesale or not.
    Guest customers Shoppers who are not signed in. Shows the warning Guests will see these prices: use it only for public rules.
    Customer groups Members of the groups you pick.
    Selected customers Customers you search for by name or email, up to 100.
    Customers with specific tags Customers with any of these tags, even if they are not in a group. Pick tags from your store's tags or type a new one (Search or add tags), up to 50.
    Company locations (Shopify B2B) Company locations you pick, up to 100. Needs Shopify B2B (Shopify Plus). Locations added to a company later are not included automatically.

    Eligibility section of an order rule

  4. Save

    Click Save rule. A rule saved as Active starts working at checkout within about a minute, or on its start date.

Settings every rule has

Field What it does
Title Your name for the rule.
Status Active or Draft. A draft is saved but not used at checkout.
Eligibility Who the rule is for. Required.
Exclusions Tick Exclude some customers and choose Specific customers, Customer tags or Company locations (Shopify B2B). Tick Exclude some products to skip products, collections, variants or product tags.
Active dates Optional start and end date and time, in your store's time zone. Leave the start empty to start right away. Tick Set end date to add an end, which must be after the start.
Priority A number from 0 to 9999. Lower numbers go first when a buyer matches more than one rule. Default 1.
Markets All markets or Specific markets from Shopify Markets. If you pick specific markets, choose at least one.

Most rules also have an Applies to menu: All products (including ones you add later), Collections, Specific products, Specific variants or Product tags. Click Browse to pick items.

[!INFO] Collection and tag scopes follow your catalog with a delay of about a minute after you tag a product, change a collection or save the rule.

On the right, Summary describes the rule and On the product page shows the line buyers will see under the quantity box.

Summary panel of an order rule

Duplicate or delete a rule

Open a saved rule to find two buttons at the top:

Manage your rules

The list at the top of Order Rules shows how many rules are active, for example "Active rules: 3 of 40 order rules, 1 of 20 buy one get one rules".

Limit Value
Active order limit and quantity increment rules Up to 40
Active buy one get one rules Up to 20
Draft rules You can always add drafts

When you reach a limit, a banner tells you. Set a rule to Draft to free a slot. Scheduled rules count toward the limit; expired rules do not.

Use All, Order limit, Quantity increments and Buy one get one to filter by type, the search box to find a rule by title, and the status menu for Active, Scheduled, Expired or Draft. Tick rules to use Set active, Set draft or Delete. Deleting asks you to confirm, the rules stop being checked straight away, and it cannot be undone. Import and Export sit in the row under the tabs, next to Add rule.

If the last update to checkout did not finish, a red banner says Checkout isn't up to date with a Try again button.

Rules with the same Priority number all apply. A rule with a lower number takes the cart lines it covers first, so later rules of the same kind skip those lines.

Only if you select them under Eligibility, for example with All customers, Signed-in customers or Guest customers. Pick Customer groups, Customers with specific tags or Selected customers to keep rules for wholesale buyers.

Related articles

Order rule types: minimums, maximums, pack sizes and more →