How ranked groups work
You create prioritized groups of locations. Shopify tries to fulfill from the highest-priority group first, then falls back to lower-priority groups if needed.Configure ranked location groups
Access order routing settings
Add the Ranked Location Groups rule
Create your first group (highest priority)
Add additional groups (lower priorities)
Enable the rule
Selector types
- Specific locations
- Location type
- Location tag
Combining selectors
Multiple selectors in one group (OR logic)
When you add multiple selectors to the same group, a location matches if it meets any of the criteria: Example: Warehouses OR locations tagged3pl
3pl matches (even if it’s a store).
Multiple tags in one selector (AND logic)
When you add multiple tags to a single selector, a location must have all the tags: Example: Locations tagged BOTHfast-shipping AND vip
Priority order matters
Locations are checked against groups in order. Once a location matches a group, it gets that group’s priority and isn’t checked against later groups. Example:- Group 1: Locations tagged
vip - Group 2: All warehouses
- Group 3: All stores
vip gets first priority (from Group 1), not second priority (from the warehouse group).
Examples
Warehouses first, then stores
The most common setup: prioritize warehouses for online orders while keeping stores for walk-in customers.Create Group 1
- Selector: Location type
- Value: Warehouse
Create Group 2
- Selector: Location type
- Value: Store
Own locations first, then 3PL
When you work with external fulfillment partners but want to prioritize your own locations.Tag your locations
- Tag your own warehouses with
owned - Tag third-party locations with
3pl
Create Group 1
- Selector: Location tag
- Value:
owned
Create Group 2
- Selector: Location tag
- Value:
3pl
Create Group 3
- Selector: Location type
- Value: Store
Fast shipping locations first
Route orders to locations equipped for expedited fulfillment.Tag fast locations
fast-shipping to locations with expedited capabilities.Create Group 1
- Selector: Location tag
- Value:
fast-shipping
Create Group 2
- Selector: Location type
- Value: Warehouse
Create Group 3
- Selector: Location type
- Value: Store
Preserve specialty equipment
Keep locations with special capabilities (like engraving) available for orders that actually need them.Tag locations
- Tag standard locations with
standard - Tag specialty locations with
engravable
Create groups in this order
- Group 1: Tag =
standard - Group 2: Type = Warehouse
- Group 3: Type = Store
- Group 4: Tag =
engravable
What happens when…
A location doesn't match any group
A location doesn't match any group
A group matches no locations
A group matches no locations
An order has multiple products
An order has multiple products
- Item 1 → Fulfilled from a warehouse
- Item 2 → Fulfilled from a store (if warehouse is out of stock)
- Item 3 → Fulfilled from a different location
Constraints block some locations
Constraints block some locations
Best practices
Start simple
Use meaningful tags
next-day-capable, heavy-items, fragile-handling instead of loc1 or groupA.Plan for growth
Test thoroughly
Limitations
What you can't do
What you can't do
- Combine type AND tag in a single selector (e.g., “warehouses with express tag”)
- Use negative conditions (e.g., “locations WITHOUT a specific tag”)
- Create different rankings for different products within this rule
- Override hard constraints from Fulfillment Constraint rules
Troubleshooting
Orders not routing to expected locations
Orders not routing to expected locations
- Is the rule enabled?
- Do the expected locations have stock for the ordered products?
- Are there constraint rules blocking those locations?
- Is the rule placed correctly in the routing order? (Earlier rules have higher priority)
Locations not matching groups
Locations not matching groups
- For type-based selectors: Is the location type set correctly?
- For tag-based selectors: Are the tags spelled exactly right (case-sensitive)?
- For AND logic (multiple tags): Does the location have ALL the required tags?
Wrong priority assigned
Wrong priority assigned
vip and you have:- Group 1:
viptag - Group 2: Warehouses