Skip to content

Click and collect from your stores

Customers can choose to collect an online order from any of your stores, against that store's own stock. Checkout offers each store that has everything in the basket, product pages and the basket say whether the shopper's chosen store has it, and the stock is taken at that store when the shopper pays.

With collect some, deliver the rest on, a customer can also collect what a store has and have the rest delivered on the same order; the Partly collected, partly delivered page follows such an order end to end.

This page covers choosing a store, up to the order being placed. What happens after that (getting the order ready, the customer arriving, handing it over) is described with the rest of the order lifecycle and on the Locations page.

Badger Commerce Enterprise

Collection from several stores is part of Enterprise (the clickAndCollect capability, with multiLocationInventory; see Subscription Entitlements). Every plan can still offer the single collection from your main location (local-pickup-enabled), described in Customers collecting from your shop. A shop that hasn't turned collection from stores on sees no change at all.

A store can also deliver nearby with its own drivers, from the same stock, on every plan: see Delivering locally from a shop.

Turning it on

Collection from stores is on only when all three hold (LocationService.isStoreCollectionActive):

  1. Customers can collect from any of your stores (click-and-collect-enabled, Settings › Orders › Fulfilment) is on. It is off by default, so having the entitlement never changes a shop by itself.
  2. The shop's plan includes clickAndCollect.
  3. Multiple stock locations is active (multi-location-enabled and multiLocationInventory), because each store sells its own stock.

The quickest way is the question at the top of the Locations screen: … and customers can collect from any of my stores turns on both multiple stock locations and collection from stores. Without Enterprise the answer is shown locked, with an Enterprise badge, and is refused if posted anyway. Choosing any other answer turns collection from stores off.

Then, on each store customers can collect from, tick Customers collect orders here (CLICK_AND_COLLECT) and give it a street address. Its Collection settings say how long staff need to get an order ready (prepMinutes, default two hours), how long a ready order is kept, and instructions for the customer.

Collection points. With collection from stores on, every active location marked CLICK_AND_COLLECT with an address (first line and postcode) is a collection point. Each has a store page, whether or not it is listed on your store pages. The main location is one only if it is marked too: the single pickup gives way to the stores. With it off, the only collection point is the main location, when local-pickup-enabled is on and it has an address, exactly as on every plan. The decision lives in CollectionPointService.

Which stores checkout offers

Checkout offers Collect from for each collection point that can supply every line that would be sent, in the quantity in the basket: its stock less its safety stock, read live (uncached) at the store itself. Stock isn't moved between stores yet, so a store that holds no stock, or is short of one item, isn't offered. Lines with nothing to hand over (digital items, donations) don't count. With collect some, deliver the rest on, a store with only some of the items is offered too.

A store that is temporarily closed isn't offered either, and the product page and basket tell a shopper whose chosen store it is ("closed for now"). With Store capacity limits on (Enterprise), a store that is full, closed or too late to prepare the order today is offered Ready from Wednesday 15 October instead (its next ready day within a week), and only one with no such day is left out ("fully booked"); a store with collection slots asks the shopper to choose a time. See Collection and delivery slots and Store operations.

Something only a store has

A product no warehouse (no SHIP_FROM location) has, but a collection store does, can still be bought: listings show it in stock, the product page enables Add to basket, and its stock line says Collect only: not available for delivery (stock.collectOnly; on a product with variants, the line for the picked variant says so). The quantity is limited to what one store has, since a collection comes from one store. At checkout a basket holding it is offered no delivery options, only the stores that have every line (LocalPickupService.isCollectionOnly, read live, checked by DeliveryServiceImpl.findDeliveryMethods). A shop that takes orders for things it has run out of (allowOOSAddToOrder) keeps delivery, as it sends those when restocked. A basket whose lines are each only at different stores has no option at all until the shopper removes one.

With collection from stores off (every Lite shop), stock only a store holds doesn't count: the product is out of stock, exactly as before.

Each option

Each option is free and shows the store's address, Ready in about 2 hours (from the store's preparation time, rounded up to whole hours; Ready from Wednesday 15 October when it can only be ready on a later day, or a slot picker for a store with collection slots) and its collection instructions. Its code is collect-<location code>, and the order records the store in deliveryMethod.collectionLocationCode (on an order partly collected and partly delivered, in collectionMethod, with deliveryMethod the delivery option; read either through Order.collectionOption() / deliveryOption()). Collection is never chosen for the shopper: it needs no delivery address, so it's offered before one is typed, and choosing it asks for a billing address instead.

The step-by-step checkout (a site without the unified checkout, or without Stripe) lists the same options in its delivery step, with the Ready in about 2 hours line in place of the generic delivery estimate (DeliveryChooserExtension puts it on the model as readyIn, by option code). It has no store picker, so every store that can supply the basket is listed. Like the unified checkout, it never chooses collection for the shopper: the cheapest delivery option is selected to start with, never a free collection.

Delivery or collection first. With somewhere to collect from, the unified checkout puts the choice (headed Delivery or collection, with "Choose a store to collect from, or enter your address below for delivery") above the delivery address, so someone collecting never starts on an address. It lists the stores and Have it delivered, which is chosen whenever the order isn't being collected. Choosing a store hides the address. The delivery options themselves always come under the address they are priced on (Delivery option), so nobody has to go back up the page to choose one; until an address finds some, that block says to enter one. After Have it delivered, Pay waits until a delivery option is picked (the store stays the order's choice on the server until then, since a delivery choice can't be blank). A shop with nothing to collect shows no Delivery or collection block at all, only the delivery options under the address. The basket summary's row reads Collection rather than Delivery while a store is chosen.

Many stores. With up to four stores to offer, each is its own option in the delivery list. With more, the list shows one Collect from a store choice. Choosing it picks the shopper's own store straight away when that store can supply the basket; otherwise it opens a compact picker inside the checkout: a search box (store name, address or postcode) and a list of stores, the shopper's own first and then by name. The stores are buttons, so the picker works with Tab and Enter and on a phone, and nothing is chosen while moving through the list. Each row shows the store's name, address and when it's ready; its collection instructions appear once it is chosen. Change store opens it again. This applies to any list of collection points, not only stores: a restaurant's kitchens fold into the same picker.

Collect some, deliver the rest

Badger Commerce Enterprise, off by default

Customers can collect some items and have the rest delivered (split-collection-enabled, Settings › Orders › Fulfilment, or the … and collect some items, with the rest delivered tick-box on the Locations screen) needs collection from stores on. With it off, a store is offered only when it has everything, exactly as above. The Halden demo has it on. What happens after the order is placed (picking, handover, payment, cancelling and returns per part) is on Partly collected, partly delivered.

Suggest collection on delivered items (split-collection-nudge, same place, on by default) adds a short line under an item set to delivery that the chosen store has: Or collect free today at Leeds (Or collect free from Thu 17 Oct at Leeds when it can only be ready later, Or collect free at Leeds for a store with collection slots and in the step checkout), with Only 2 left when the store is low (what it can sell after its safety stock, read live, as checkout reads it). It shows in the basket and both checkouts, only while Delivery is ticked. Turn it off for a quieter basket; the Halden demo sets it on.

A trade customer can collect the drill from Leeds today and have the pallet of screws delivered, on one order with one payment. One store per order, one delivery option for the delivered items, and each item goes one way: an item is collected only if the store has all of it.

Which stores are offered. With the switch on, checkout offers every store that has at least one item that would be sent, labelled Has everything or Has 2 of your 3 items. The shopper's own store comes first, then stores with everything, then by how many items they have, then by name. A store that takes collections in slots is offered too, and the shopper chooses a time for the items they collect there (below).

Unified checkout. Delivery or collection offers Deliver everything and Collect from Leeds for each store (or the Collect from a store picker, whose stores carry the same labels):

  • Choosing a store that has everything collects everything, as before.
  • Choosing a store that lacks something collects what it has and delivers the rest. The split is never made for the shopper before they pick a store: when their own store lacks something, checkout says Leeds has 2 of your 3 items. with a Collect 2, deliver 1 button.
  • Under the chosen store, one row per item: its name, and the basket's Delivery | Collect switch beside it (under it on phones). With Collect ticked, the row says Free · Ready today at Leeds (or At Leeds when it isn't ready today). When the store hasn't got an item, Collect stays in the switch, greyed out and struck through, and the row says Not in stock at Leeds. The switch is a pair of radio buttons per item (arrow keys move between them), a choice is saved straight away and the keyboard stays on it while the page updates. Under the items, 2 items to collect from Leeds (free) · 1 item delivered. Moving every item one way makes it a plain collection or a plain delivery order. Text and colours are the basket's (ink on the card colour, never the brand colour as text), so they read in every theme.
  • The delivery address and a Delivery option section (under the address, "Priced on the items being delivered") appear only while something is delivered, and Billing address is the same as delivery comes back with them. Delivery options are found and priced on the delivered items only.
  • The basket summary shows Collection: Free and Delivery: £6.95 on a split order, and Pay waits for a delivery option whenever anything is delivered.
  • A store with collection slots. Under the items, checkout asks Collect 2 items from Leeds: choose a time (it counts items, not lines) with the slot picker: a strip of days, the chosen day's windows, folding to Collection: Thu 16 Oct, 10:00–12:00 · Change once one is chosen. Pay says Choose a time until one is chosen. A screen reader hears the prompt when it appears and the time once it's chosen, and the keyboard stays in the picker while the page updates. A whole collection from a store with slots asks in the same place and words.

In the basket. Each item that would be sent gets its own choice, so the shopper can decide before checkout, the way Target, Best Buy and Argos baskets work:

  • At the top of the items, the store in context: Collect from Leeds · Change, with what it has (Has 2 of your 3 items · Ready today, or Ready from Thu 17 Oct when it can only have it ready on a later day, or Choose a time at checkout for a store with collection slots, whose items then say Free · At Leeds). That is the store the basket already collects from, else the shopper's store ("My store", below). With neither, Collect in store? Choose a store.
  • Under each item's quantity, a compact Delivery | Collect switch and one line about the option that's ticked: Delivery's fastest promise (Arrives Thu 17 Oct, when an option makes one), or Free · Ready today at Leeds for Collect (with Only 2 left when the store has three or fewer). With Delivery ticked on an item the store has, the line can also suggest Or collect free today at Leeds (split-collection-nudge, above). The switch is two real radio buttons in a fieldset named for the item, small to look at but a full 44px to touch, so ten items stay easy to scan. On phones it takes the line's whole width, under the picture, with Remove item (and Save for later) beside it, so the actions don't need a row of their own. When the store can't supply the item, Collect is disabled and struck through, and the line says why whichever is ticked: Not in stock at Leeds, or Only 1 at Leeds with a Reduce to 1 to collect button (an item is never split between collection and delivery).
  • When other stores have items this one hasn't, the store bar says so once: 2 items are at other stores · Check other stores, which opens the store chooser (the store picker page without JavaScript), rather than every line repeating it.
  • With no store chosen, picking Collect opens the store chooser; choosing a store there collects that item from it.
  • Change opens the store chooser: a <dialog> (a bottom sheet on phones) listing the stores that have something in the basket, the shopper's store first, each with Has all 3 items or Has 2 of your 3 items and when it would be ready. Opened for one item, the stores that have it come first and the others say Doesn't have this item. Choosing a store makes it the shopper's store and never moves an item to collection by itself. If the basket was already collecting from another store, the items the new store has are collected from it and the rest go to delivery, and the basket says so (Now collecting from York. 1 item is not in stock there, so it will be delivered.).
  • Once anything is collected, a summary reads 2 items to collect from Leeds (free) · 1 item delivered, with Collect everything Leeds has (1) when Leeds has more of the basket, and Deliver everything. Before that, the bar offers Collect all 2 from Leeds; nothing is collected for the shopper. Items stay in basket order.
  • The totals show Collection: Free beside Delivery, as at checkout. The summary's single "Collect from Leeds: in stock" line is left out while the items say it one by one.
  • If the shopper's store changes elsewhere (a product page, the store picker) while the basket collects from another, the bar says so and offers Collect from York instead.

Every choice is a form posted to the basket page, which saves it on the order (LineItem.handover, Order.collectionMethod) and redirects back (post/redirect/get), so it works without JavaScript; the store links then go to the store picker page. With JavaScript (basket-handover.js) the switch sends its choice straight away: it shows it at once, with a spinner in place of its icon, the basket's items and order summary come back as fragments and are swapped in without a page load, focus stays on the switch, and the change is announced to screen readers (Moved to collection from Leeds); a change that can't be made says so in the store bar. Choosing a store in the chooser loads the basket page again when the page header shows the shopper's store, so the header changes too. The whole view is worked out with one stock read for the basket (HandoverService.basket). The choice carries into both checkouts: the unified checkout opens with the split already made, and the step checkout keeps the store chosen and goes on to Delivery for the rest of your order. The mini basket marks a collected item Collect from Leeds. Text comes from the basket.handover.* message keys.

Step checkout. The delivery step lists the stores with the same labels. Choosing a store that lacks something, or Choose for each item, shows a form with one row per item and the basket's Delivery | Collect switch (Nova and Brock; a store without the item keeps Collect, disabled, Not in stock at Leeds) and one Continue, with Deliver everything as a quiet link under it. If anything is delivered, the delivery option for it comes next (Delivery for the rest of your order, opening with ✓ Collecting from Leeds · Free and "Priced on the items being delivered", with Choose for each item and Deliver everything under Continue), and the step's summary shows both parts. At a store with collection slots, a Collection from Leeds step comes between them: the items being collected, Collect 2 items from Leeds: choose a time and the slot picker, with Continue refused until a free one is chosen (a window taken meanwhile shows the step again with "That time has just gone"). The summary shows the time under Collect from Leeds.

The collection time on a split order (Order.collectionSlot) works exactly like a whole collection's slot (see Collection and delivery slots): the same windows, lead time and capacity, one booking for the order however many items are collected, booked at payment before the stock is taken, and given back with the stock. It stays while items move between collection and delivery at the same store, carries over when a whole collection is split (or a split becomes a whole collection) at that store, and goes when the shopper picks another store or Deliver everything. Items are collected only when the store has all of them, so the earliest window is the store's lead time; nothing waits for stock to arrive.

Headless (REST API). A headless storefront or app makes the same choices on a customer basket through GET and PATCH /v1/basket/{basketId}/handover (see the API reference). The GET returns what checkout shows: whether the shop splits (splitAvailable), the store collecting, collectedLineIds / deliveredLineIds, the delivered items the store can't supply, the stores on offer with what each has (stores[]: available of wanted, complete), and the delivery options for the delivered items. Pass myStoreCode to list the shopper's own store first. The PATCH takes collectionOptionCode ("collect what's here, deliver the rest"), lineHandover (lineId -> COLLECT | SHIP), deliverEverything, deliveryOptionCode and collectionSlot, applied in that checkout's order and with the same rules, then reprices the basket. When the items are split and the store collects in slots, the GET says so (collectionSlotted) and lists the store's days and windows (collectionSlots, each window with the key to send back as collectionSlot) beside the slot chosen; the order can't be placed until one is chosen. A refusal (a store that isn't offered, moving items on a shop that doesn't split, a delivery option or a collection time that isn't available) is a 409 with a HandoverError whose message is in the shopper's language. Adding, changing or removing basket lines through the API doesn't re-check the split; the next GET of the handover does (an item added meanwhile is delivered), so read it again after changing the lines. Every Order in the API, the customer basket and the admin order alike, carries deliveryMethod, collectionMethod, their slots, splitHandover and lineItems[].handover; the admin fulfilment status gives each line's handover too. These are read-only on admin orders.

When the basket changes under a choice. A choice is kept within the rules whenever the basket or checkout is shown: an item added later is delivered, a split with nothing left to collect becomes a plain delivery (and one with nothing left to deliver a plain collection), and a whole collection from a store that no longer has everything (an item was added, or its stock moved) keeps what the store has collected and delivers the rest, or delivers everything when the store has none of it. The slot picker and delivery options then appear as they should. If the switch is turned off, a split basket goes back to having everything delivered.

If the store sells out of an item being collected between checkout and payment, nothing is charged: the item is moved to delivery and the shopper is asked to check the delivery and pay again.

Free delivery over a minimum spend counts only the items being delivered, so collecting an item never earns free delivery on the rest. See Discounts for other minimum-spend offers, which still count the whole basket.

Products that can only be collected, or only delivered

Some things shouldn't travel one of the two ways: a gas bottle or a 3-metre length of timber that can't be posted, a made-to-order sofa that no store keeps. On the product's Settings tab, How customers get it takes one of:

Setting What it does
Delivered or collected, as the customer chooses The default: no restriction.
Collection only Never delivered. While it is in the basket (and not already collected), no delivery options are offered, only collection. The product page says "Collection only: collect it from one of our stores" and shows no delivery promise.
Delivery only Never collected. No store supplies it, whatever stock the store holds, so a basket with it can't be collected as a whole and the product page offers no collection line; it says "Delivery only: not available to collect from a store".

It covers every variant, and only matters for a product that needs shipping. The setting is copied onto each basket line (LineItem.handoverRule) when the line is added or updated.

With Collect some, deliver the rest on, the rest of the basket still goes the other way:

  • In the basket and both checkouts the item shows Collection only or Delivery only in place of the Delivery | Collect switch.
  • On an order already collecting from a store, a collection-only item added later joins the collection when that store has it. Otherwise its row offers Collect from Leeds, or says the store hasn't got it.
  • Deliver everything leaves collection-only items with the store.
  • A delivery-only item is never moved to collection, and never nudged.

Without it, a basket mixing a collection-only and a delivery-only product can't be checked out in one order. The shopper sees no options that fit both, and buys them separately.

Payment is the backstop. An order whose items don't go the way their products allow is refused before the card is charged, in every checkout and in submitOrder itself ("Something in your basket can only be collected, or can only be delivered…"). Set it from REST (Product.handoverRule) or MCP (manageProducts handoverRule, "" clears).

A collection-only product is still shown and sold from its overall stock. If only the warehouse has it, checkout finds no store that can supply it and the shopper can't complete the order. Keep such products stocked in the stores that sell them.

"My store"

A shopper can pick the store they usually collect from. It is remembered in the bdgr_store cookie: just the store page's address (its slug), for 90 days, Secure, HttpOnly, SameSite=Lax. It says which branch someone prefers, not who they are, so it holds no personal data and needs no login. A store that stops taking collections is ignored wherever the cookie is read.

Shoppers choose it from:

  • Make this my store on a collection store's page (/stores/{slug});
  • Change store (or Choose a store to check stock) on a product page or the basket. This opens the store picker over the page: a panel from the right on wider screens, a bottom sheet on phones (a native <dialog>: Escape, the backdrop or the close button shut it, and focus goes back to the link). It lists the stores customers collect from that can take a collection (LocalPickupService.pickerStores: not temporarily closed or fully booked within the week, a free slot for a slotted store), the shopper's own first, each with Choose this store as its main button and the store's page as a link under it. A store that can only have an order ready on a later day says so (Ready from Wednesday 15 October). Coming from a product page it lists only the stores that have that product (the variant in the page's ?v=, else any enabled variant), and from the basket or checkout only those with everything in the basket (with collect some, deliver the rest on, those with any of it), each marked In stock here (StoreController.pickerStock, display stock); if none has it every store is listed, marked Not in stock here. The search and Use my location work there too. Choosing posts in the background and swaps in the page's new collection line and header store link without leaving the page. The panel is /stores/picker?return=<page> (the list without a page around it, stores/picker, never cached); the script lives in fragment/collectOffer. Without JavaScript, or if the panel can't load, the link goes to the same picker as a page, /stores?choose=1&return=<page>.

  • A link with ?store=: any storefront page opened with ?store=<store page address> makes that store the shopper's own for that page and the next (MyStoreHintInterceptor; only a store page of the shop counts). A branch page's "Order" and "Book a table" buttons use it.

  • The delivery postcode check of a shop with local delivery (/api/public/v1/local-delivery/check) sets it to the location that delivers to the postcode, when that location has a store page: a restaurant's kitchen, or a store with its own local delivery.

The booking form and the restaurant menu's status banner start from it too: see Restaurant Ordering.

The first two post to /stores/my-store, which sets the cookie and sends the shopper back to the page they came from. Only a path on the shop is followed (one starting with a single /, without backslashes or control characters); anything else goes to the store's page instead, so the picker can't be used to send someone to another site.

On the product page and basket

With collection from stores on, the collection line under the add-to-basket button and in the basket says what the shopper's store has:

Shopper's store Product page Basket
Chosen, has it Collect from Leeds: in stock · Change store The same, when the store has every line in the quantity in the basket
Chosen, has it, ready on a later day (Enterprise capacity) Collect from Leeds: in stock (ready from Wednesday 15 October) · Change store The same
Chosen, hasn't Collect from Leeds: not in stock there · Change store The same, when any line is short
None chosen Choose a store to check stock, linking to the picker The same
No store that can take a collection has it Not currently available for click & collect, nothing to pick The same, when no such store has every line

With collect some, deliver the rest on, the basket shows a choice per item instead of this line (see In the basket).

The line sits under a Free click & collect heading, directly under the add-to-basket button. On Depot the stock line above the button then reads In stock for delivery / Only 3 left for delivery, since a store may have more than the warehouses.

On a product with variants, before one is picked, the store counts as having it when it has any enabled variant; once one is picked, that variant. These lines read display stock, which may be a few seconds behind; checkout reads it live. A shop without collection from stores keeps Delivery, or free collection from .

How many a shopper can put in the basket follows how the order is handed over (AvailabilityService.sellable with AvailabilityService.stockHandover(order, site)): before they choose, the most of what can be posted and what the best store holds; once they choose posting, what can be posted (something only a store has can still be added, and checkout has it collected); once they choose a store or shop that delivers locally, that location's stock alone. Choosing a store to collect from holds the order to that store's stock only when the order can't be split: a food order (see Restaurant ordering), or a shop without collect some, deliver the rest, where the product page and listings then show the store's stock and a chosen kitchen's sold-out dishes show sold out. With split collection on, a store the shopper collects from doesn't make anything else sold out: listings, the product page and the basket count the whole network, and an item the store hasn't got is delivered (the order becomes partly collected, partly delivered, below). A split order, whose lines go different ways, is read as before a choice. Payment still takes stock for the handover the order has.

On listings

While the shopper has a store (the one their order collects from, else their my store), collection and category listings and search results say on each card what that store has, under the price:

The store The card
Has it In stock at Covent Garden
Hasn't, but it can be had another way Sold out at Covent Garden, available for delivery
Nobody has it Nothing here: the card itself shows it sold out

ListingStoreStock puts the store's name and levels on the model (listingStore, listingStoreLevels, from AvailabilityService.levelsAt), and every theme's card draws them with the shared fragments/storeStockLine fragment (collect.listing.here / collect.listing.away). A food order's listing already shows its store's stock, so it gets no line.

The wording is worked out in Java (LocalPickupService.offer / offerAnyOf, put on the model by ProductController and the BasketActions extension as collectOffer) and drawn by the shared fragment/collectOffer fragment in every theme. The text comes from the collect.store.*, stores.choose.*, stores.myStore.* and checkout.delivery.collect.* message keys.

Stock is taken at the collection store

When the shopper pays, the stock for a collection order is taken at the store they collect from (StockAllocationServiceImpl), never sourced from a warehouse or another store:

  • Every line that would be sent is taken at collectionLocationCode. Lines with nothing to hand over are taken at the main location, as on any order.
  • Each line records the store as sourceLocationCode, and the stockTaken record names it, so a cancellation or return puts the stock back there.
  • If the store has a fulfilment partner, the lines are handed to it, as sourcing does, so the fulfilment queue, portal and notifications route the order to that store.
  • If the store has sold out of something since checkout offered it, the order isn't placed, the card hold is released and the shopper is told the item has just sold out, unless the site allows out-of-stock orders, in which case what could be taken is kept and the order goes ahead.
  • Between the stock being taken and the order being placed (while the card is checked, during a 3D Secure step, or until an order that never went through has its stock handed back), the stock the order holds still counts as its own. The basket's and checkout's store stock add it back before the safety stock is kept back, so the store's Only 2 left doesn't drop by what the shopper already holds, and the basket doesn't move a collected line to delivery because its own stock looks gone. While it holds stock for the basket as it is, an order's collect and deliver choices are left as they are; once the basket changes, confirm takes its stock again (see Order lifecycle).

With multiple stock locations active, this applies to any collection order, including one collected from the main location. With them off (every Lite shop), collection orders are taken at the main location exactly as before.

Code

Piece Where
The switch and gate ConfigKeyDefaults.CLICK_AND_COLLECT_ENABLED, LocationService.isStoreCollectionActive / canCollectFromStores
Collection points, store stock checks CollectionPointService (commerce-core/.../delivery/)
Collect-only stock (stock level, stock line, no delivery) SkuAvailability.level() / isCollectOnly(), AvailabilityServiceImpl, ProductController (collectOnly), VariantDisplayer (collectOnly per SKU), LocalPickupService.isCollectionOnly
Checkout options, product page and basket line LocalPickupService, DeliveryServiceImpl, CollectionReadyIn (the ready-in line), UnifiedCheckoutServiceImpl, DeliveryChooserExtension (step checkout), UnifiedCheckoutExtension (shopper's store, picker threshold), nova/js/modules/checkout.js (the checkout, with its parts in modules/checkout/: delivery.js, split.js)
Collect some, deliver the rest ConfigKeyDefaults.SPLIT_COLLECTION_ENABLED, HandoverService (store coverage and the shopper's choices), session handover and the collectionOptionCode / lineHandover / deliverEverything patch fields, nova/js/extensions/unifiedCheckout/handover.js (tested in web-mvc/src/test/js), checkout.split.* message keys
Headless and admin REST BasketHandoverController (/v1/basket/{basketId}/handover, view from HandoverService.describe), RestHandoverConverters and RestOrderConverter (the Order fields), basket.handover.error.* message keys
Collect or deliver in the basket HandoverService.basket / collectLine / chooseStore, CollectionPointService.lineStock (one stock read), the FullBasket extension's posts and its ho notice (HandoverNotice), nova/extensions/fullBasket/handover.html (Nova and Brock), nova/js/extensions/fullBasket/basket-handover.js (tested in web-mvc/src/test/js), basket.handover.* message keys
Collection only / delivery only products HandoverRule (Product.handoverRule, copied to LineItem.handoverRule in OrderServiceImpl), HandoverRules (shared checks and the payment backstop), CollectionPointService.coverageOf (no store supplies a delivery-only line), LocalPickupServiceImpl.collectionOptions, DeliveryServiceImpl, HandoverServiceImpl, fragment/collectOffer.html (product page note), basket.handover.collectOnly / deliveryOnly and product.handover.* message keys
My store cookie, return path check MyStoreCookie (commerce-core/.../delivery/)
Store picker and "Make this my store" StoreController (?choose=1, POST /stores/my-store), templates/nova/stores/
Allocation at the store StockAllocationServiceImpl.allocateAtStore
Locations screen answer LocationAdminController (MULTI_LOCATION_AND_COLLECT), templates/admin/locations/list.html