BopiSafe Install on Shopify
Blog

Shopify Pickup: Nearest Location Sorting Done Right

2026-07-03 · BopiSafe Team

Sorting a Shopify pickup picker by nearest location alone is a trap: the closest store is frequently the one without the item, so distance-only sorting sends shoppers to an empty shelf. The right order is stock first, then your merchant priority, then distance — so the store on top can actually fulfill the order, and proximity only refines among stores that already can.

Distance feels like the obvious sort key. It’s the one most merchants reach for, and it’s the one that quietly costs the most pickups.

Why does sorting by nearest location alone fail?

The entire promise of pickup is collecting the item today. Proximity is only valuable if the nearby store can deliver on that promise — and often it can’t.

Distance-only sorting puts whichever store is closest to the shopper at the top, regardless of whether that store has any of the items in the cart. The shopper trusts the top result, chooses it, drives over, and finds the shelf empty. You’ve used your best slot in the picker to recommend a wasted trip.

This is the most common store-picker mistake, and it’s seductive because it looks helpful. “Nearest store first” sounds shopper-friendly. But a near store with no stock is worse than a slightly farther store that has everything — the near one ends in a refund and a complaint.

Stock has to win. Distance is a tiebreaker among stores that can fulfill, never the primary sort.

What is the correct pickup sort order?

Three keys, in this strict order:

  1. Stock — stores that can fulfill the entire order rank above stores that can’t. A store that lacks the order stays visible but unselectable, greyed and sunk to the bottom.
  2. Merchant priority — among in-stock stores, your own preferred order breaks ties (surface a flagship, balance load away from an overloaded store, push collections to a quieter location).
  3. Distance — among in-stock stores at equal priority, the closer one ranks higher.
Sort keyWhat it answersWhere it ranks
StockCan this store fulfill the whole order?First — the non-negotiable filter
Merchant priorityWhich fulfillable store do I prefer to surface?Second — breaks ties among in-stock stores
DistanceWhich fulfillable store is closest?Third — refines, never decides

Read the table top to bottom and the logic is plain: never promote a store the shopper can’t actually use. Distance matters, but only after the picker has guaranteed the recommendation can be honored. The in-cart mechanics of this picker are covered in the Shopify store picker guide.

How does distance sorting work without invading privacy?

Distance needs a reference point — a postal code the shopper enters, or a browser location prompt they accept. Plenty of shoppers decline, and the picker still has to work.

When there’s no location signal, the picker simply falls back to stock then merchant priority, which already produces a sensible, fulfillable list. Distance is the refinement layer; remove it and the first two keys still order the stores usefully.

This is why distance can never be the sole driver. A sort that breaks the moment a shopper declines a location prompt isn’t a sort you can ship. Stock and priority carry the list; distance polishes it when the data is available.

What happens to far or empty stores in the picker?

Nothing gets hidden. The picker shows the full picture and lets ranking do the work:

The shopper always sees every store. A shopper who’d rather collect near their office than near home can pick the farther store — the sort sets the default and surfaces the best option first, but it doesn’t lock anyone in.

That’s the difference between guiding and forcing. The picker’s job is to make the right choice the easy choice, not the only choice.

Why this matters more than the order of a list

BOPIS is a large and growing behavior, which is why a picker that mis-ranks stores leaks real revenue. US buy-online-pickup-in-store sales reached roughly $154.3 billion in 2025, about 10.5% of e-commerce, projected near $177.9 billion in 2026, per Capital One Shopping research. The same research finds 85% of BOPIS shoppers buy something extra while collecting — but only if the trip happens at all.

Store-level accuracy is also a conversion lever. Shoppers are about 5× more likely to buy online when their nearest store shows an item unavailable, rather than abandoning, per RetailWire’s discussion of real-time stock visibility — provided the picker then shows them a store that does have it. Distance-only sorting fails exactly here: it promotes the empty near store and buries the full far one.

Consider a 3-location store where the closest location to a given shopper happens to be the smallest, lowest-stock one. Sort by distance alone and that thin store tops the list for most local shoppers, generating wasted trips and refunds. Sort by stock first and the picker quietly routes those shoppers to a location that can actually hand over the order.

How does this compare to Shopify’s native pickup?

Native Shopify shows one store on the product page plus a “Check availability at other stores” link, documented in the Shopify Help Center. That link lists locations and their availability, but it’s not a ranked, in-cart picker that orders by stock then priority then distance — and it doesn’t travel into the cart where the shopper commits. We cover that link’s limits in Shopify check availability at other stores.

A stock-first sorted picker, reading live per-store stock and keeping one pickup store per checkout through native Shopify checkout, is what closes that gap. It surfaces the right store at the moment of decision instead of one link deep. The broader flow is in the multi-location BOPIS guide, and the native one-location rule it respects is in Shopify pickup: entire order in stock at one store.

Get the sort order right — stock, priority, distance, in that order — and “nearest location” stops being a liability and becomes what it should have been all along: the closest store that can actually fulfill the order.

Written by the BopiSafe team — we build BOPIS infrastructure for Shopify merchants.

Next steps

Have a store-picker question this didn’t cover? Email support@bopisafe.com — we read everything.

Frequently asked questions

How should a Shopify pickup picker sort stores?

Stock first, then merchant priority, then distance. Stores that can fulfill the whole order are ranked above ones that can't, your own priority order breaks ties among in-stock stores, and distance refines from there. Pure distance sorting is the common mistake because it puts the closest store on top even when that store has none of the items the shopper wants.

Why is sorting pickup locations by distance alone a mistake?

Because the closest store is often the wrong store. Distance-only sorting promotes whichever location is nearest the shopper regardless of stock, so the shopper picks it, drives over, and finds an empty shelf. The point of pickup is collecting the item today; proximity is worthless if the nearby store can't fulfill. Stock has to win over distance.

Does showing the nearest store require the shopper to share their location?

Distance sorting needs a reference point — a postal code or a browser location prompt. Without one, the picker falls back to your merchant priority order and stock, which still produces a sensible list. Distance is a refinement on top of stock and priority, never the sole driver, so the picker stays useful even when the shopper declines to share a location.

What is merchant priority in pickup sorting?

Merchant priority is the order you want stores to appear in when more than one can fulfill — for example, surfacing a flagship or a low-traffic store you want to drive collections to. It breaks ties among in-stock stores so the picker reflects your operational preference, not just raw geography. It sits below stock and above distance in the sort.

What happens to a store that is out of stock or far away in the picker?

An out-of-stock or over-capacity store stays visible but unselectable, greyed and sunk below stores that can fulfill. A distant store that can fulfill stays selectable but ranks lower. Nothing is hidden; the shopper always sees the full picture and is simply guided toward the store that works best.

Can the shopper still choose a farther store if they want?

Yes. Sorting sets the default order and surfaces the best option first, but every store that can fulfill is selectable. A shopper who prefers a store near their office over the one near home can pick it. The sort guides; it does not lock the shopper into the top result.

How is this different from Shopify's native pickup?

Native Shopify shows one store on the product page plus a "Check availability at other stores" link, which lists locations but is not a ranked, in-cart picker that orders by stock then priority then distance. The native list answers "who has it" one link deep; a stock-first sorted picker in the cart answers "which store should I choose" at the moment the shopper commits.

Does sorting by stock first slow down the picker?

No. The picker reads live per-store stock and orders the list at the moment it renders, so the shopper sees fulfillable stores on top instantly. There is no perceivable delay at checkout. The sort happens against data the picker already needs to show availability, so ranking by it is effectively free.

Want pickup that doesn't break? See how BopiSafe works →

New to BopiSafe? Use code BOPISAFE30 at plan selection for a 30-day free trial instead of 14.