Stock is kept per warehouse as four quantities, changed only by transactions. With inventory tracking on, each order is allocated to warehouses and its stock held until it leaves. Fulfilments and shipments follow an order out of the door, and staff move them on from the order page.
Stock per warehouse
A warehouse is a place stock is kept, with a unique code and an address. For each product or variant, each warehouse holds a stock record with four quantities:
Available: can still be sold. This is what the shop uses.
Reserved: held for paid orders that have not shipped yet, and for checkouts being paid for right now. A checkout's hold is released if the payment does not finish within the checkout lifetime.
In transit: on its way to a warehouse or a customer.
On hand: physically on the shelf.
So a product can show as out of stock with a full shelf: everything on hand is reserved for orders that have not shipped. The Stocks list (Transactions › Inventory › Stocks) shows the four quantities for each product code and warehouse; the information icon beside Reserved explains what it holds.
How stock changes
Every change is an inventory transaction: the product, the warehouse, the quantities moved and the reason. A transaction is final once written, and the stock figures are the running total of the transactions, so a mistake is corrected with another transaction rather than by overwriting a number.
With inventory tracking on, the platform writes an order's transactions itself as the order moves: paying holds the stock (available down, reserved up), sending a delivery moves it from reserved and on hand to in transit, delivering it takes it out of in transit, a collected pickup leaves reserved and on hand, and cancelling a fulfilment returns its stock to available. The Stock Transactions list (Transactions › Inventory › Stock Transactions) shows each one with its Reason, such as fulfillment_shipped.
Staff can enter a product's four quantities per warehouse in the product editor; on save, the platform writes the difference as a transaction. If someone else changed the stock after you opened the form, your save is refused, so two people never overwrite each other's counts. With inventory tracking off, where a warehouse or ERP system ships the goods, the recommended set-up lets that system alone record each movement, through the API. With tracking on, the Platform records the hold when an order is paid and the movement at each fulfilment step, so that system moves each fulfilment on through the API and records only the changes outside an order, such as goods received.
Batches track lots of goods, with a name, an expiry date and a received date. When a transaction makes a product available again, the platform raises its back-in-stock event, which a job (formerly hook) can turn into emails to the people who asked to be told.
Inventory tracking
Inventory tracking is off until you switch it on. With it off, no stock is checked or held, and each order gets one fulfilment without a warehouse. With it on, stock is checked in the cart and at checkout, held for each order until it ships, and every order is allocated to warehouses.
The settings are on the Inventory configuration page, Transactions › Configuration › Inventory, in this order:
Enable inventory tracking: the switch. The Stock allocation settings and the Allocation notes are dimmed while it is off, because they apply only while it is on.
Delivery allocation strategy, under Stock allocation: Closest warehouse that covers the whole order, the default, picks the nearest warehouse that holds every item. Closest warehouse in the customer's home region, then anywhere first tries the warehouses in the customer's own region, such as their state, and goes to the nearest warehouse anywhere only when none of them holds every item.
Click and collect allocation strategy: Customer's chosen warehouse takes every item the warehouse the customer chose holds, and reports the rest as unavailable.
Packing slip logo, under Packing slips: the full address of the logo printed at the top of every packing slip, for example https://www.example.com/logo.png. Leave it blank to print the site name only. A black and white logo prints best.
Packing slip support contact: printed in the footer of every packing slip, for example a phone number or email address customers can contact about their order.
Allocation notes: two cards that show how two settings kept elsewhere stand. Collect from two warehouses says whether a click and collect shipping group lets one order be collected from two warehouses, and links to the shipping groups. Distance says whether warehouses are ranked by distance, which needs the geocoding key described under Warehouse locations, and links to the Common settings.
How an order is allocated
Delivery: the order leaves from one warehouse, the closest that holds every item. It is split only when a product's shipping category has Separate fulfillment switched on, which gives those products a fulfilment, a parcel and a shipping charge of their own, or when an item's shipping methods ship only from certain warehouses that cannot send the rest of the order.
Click and collect: the order is collected from the warehouse the customer chose. When that warehouse is short of an item, a click and collect shipping group with Same warehouse switched off lets the customer collect the rest from a second warehouse (see Shipping).
Nothing to ship: products whose shipping methods all have Nothing to ship switched on hold no stock, and get a fulfilment of their own without a warehouse.
The shopper hears about a shortage before paying. The cart marks the item "Only 3 in stock", or "Only 2 can be sent from one location" when the stock is spread across warehouses, and a checkout cannot start until the quantities fit. See Checkout.
Transactions › Configuration › Inventory
Warehouse locations
Allocation ranks warehouses by their distance to the customer. A warehouse's position is looked up from its address each time the warehouse is saved, and shows in the Location panel below the address (Transactions › Inventory › Warehouses): Latitude and Longitude, which cannot be typed in. Re-geocode looks the address up again; while the warehouse has no position yet, the button reads Try again.
Looking addresses up needs a Google Maps Platform key with the Geocoding API enabled. Enter it as Google Geocoding API key under Geocoding settings in Content › Common › Configuration; its requests count against your own Google quota. Without a key, warehouses are ranked by matching postcode, then state, then country instead of by distance.
Fulfilments and shipments
A fulfilment is a set of an order's lines that leave together. It is created at checkout when shipping is chosen, and holds its items, the delivery address (or the warehouse, for a pickup), the delivery option chosen, its status and its shipments. A shipment is one parcel, with the courier's tracking code and link; a fulfilment that leaves in several parcels has a shipment for each.
Staff work on fulfilments on the order page (Transactions › Orders › Orders). Its Fulfillments section has a card for each fulfilment, titled with its type and warehouse, such as Delivery from Richmond or Pickup at Newport, showing its status, progress, items, address, the shipping rate the customer chose and its shipments. The card's main button moves the fulfilment on to its next step:
Mark ready, or Mark ready for collection for a pickup, once it is picked and packed.
Add shipment, on a ready delivery: enter the Tracking code from the carrier label, the Tracking URL, the Shipping method and the Shipping cost; method and cost default to the rate the customer chose. Saving the first shipment moves the fulfilment and all its items to In Transit. Add another parcel records the next one.
Mark delivered once the parcel has arrived, or Mark collected once the customer has picked up their order.
The printer icon prints the fulfilment's packing slip. The ⋮ menu holds the rest: Edit warehouse or external ID (only Edit external ID once the fulfilment is past Pending), Mark in transit without a shipment and Cancel fulfillment. Changing the warehouse moves the stock held for the fulfilment, and the new warehouse must hold every item. A status changes only through these buttons, which also move the stock and record the change. Admins who may only read fulfilments see the cards without the buttons that change them.
A fulfilment with nothing to ship is a one-line Digital delivery card, completed automatically when the order is paid. An order whose fulfilments all had nothing to ship lists its items as delivered digitally, without cards.
Cancelling a fulfilment
Cancel fulfillment asks you to confirm and says what happens to the stock: the reserved items go back to available stock at the warehouse. A fulfilment that is in transit or delivered cannot be cancelled. Cancelling does not refund the customer; use Refund Order at the top of the order page for that.
The items of a cancelled fulfilment appear under Unassigned items until they are placed again. Add fulfillment puts them in a new pending fulfilment of the order's type at a warehouse you choose (the list says which warehouses hold every item), reserves the stock there straight away and charges no shipping. Items whose shipping methods have nothing to ship get Add digital delivery instead: a fulfilment without a warehouse or stock, which you mark delivered once the customer has them.
Activity
The Activity panel beside the cards lists what happened to the order, newest first: placed, paid, each fulfilment added, marked ready, in transit, collected, delivered or cancelled, each shipment, and stock that went back to a warehouse. Each line says who did it and when; a change made by a connected system rather than a person shows as System. Editing a fulfilment's warehouse or external ID does not appear.
An order with a delivery and a digital delivery
The Fulfillments list
Transactions › Orders › Fulfillments lists the fulfilments of every placed order, newest first: the warehouse's work queue. Its columns are ID, Order, Customer, Type (Delivery, Pickup or Digital), Warehouse, Status, Items, Tracking and Created, and every column but Items has a filter. The order number opens the order page at that fulfilment's card. The ID opens the fulfilment's own page: its card, the order in brief, the order's other fulfilments, and the order's notes and activity. Open in fulfillments list on an order page lists only that order's fulfilments.
Select between 1 and 100 rows to use Mass actions:
Mark ready changes pending fulfilments only.
Print packing slips prints the slips of the selected fulfilments as one PDF, leaving cancelled ones out.
Mark delivered changes fulfilments in transit only.
Mark collected changes pickups ready for collection only.
Rows that do not qualify, and fulfilments with nothing to ship, are skipped, and the list reports how many were changed and how many skipped.
Packing slips
A packing slip travels in the parcel: one A4 page per fulfilment, black and white and without prices. It shows the order number and date, the fulfilment and its warehouse, a barcode of the fulfilment's ID for a warehouse scanner, who the parcel is for and where it goes (or, for a pickup, who collects it and where), the shipping method, each item's code, name and quantity, the order's comments as notes, and lines for Packed by and Checked by. Print one with the printer icon on a card, all of an order's with Print packing slips at the top of the order page, or many at once from the Fulfillments list. Cancelled fulfilments and fulfilments with nothing to ship have no slip. The logo and the support contact come from the Inventory configuration; your developers can give the slip the site's own layout.
Transactions › Orders › Fulfillments
Statuses
A delivery moves from Pending to Ready, In Transit and Delivered. A pickup is never in transit: it moves from Pending to Ready for collection and Collected. A fulfilment with nothing to ship goes from Pending straight to Delivered digitally, automatically when the order is paid. A pending or ready fulfilment can be Cancelled.
Moving a fulfilment on sends the customer nothing by itself. Shipping and delivery emails are jobs (formerly hooks) that your developers set up: see Customer emails in the commerce guide.
The order's fulfilment status
The order sums up its fulfilments, leaving cancelled ones out: Not Fulfilled (none), Pending Fulfillment (all pending), Partially Fulfilled (some pending, others moved on), Fulfilled (none pending, not all delivered) and Fulfillment Complete (all delivered). Unassigned items count as one more pending fulfilment until they are placed again.
Common questions
"It says out of stock but we have some." Compare on hand with reserved: paid orders that have not shipped, and checkouts being paid for, hold stock.
"We have the stock, but the customer cannot order it for delivery." A delivery leaves from one warehouse, so one warehouse must hold the whole order. The cart says so: "Only 2 can be sent from one location".
"The count is wrong." Read the transactions rather than the total: a movement is missing or recorded twice.
"Why is this order in two parts?" It has more than one fulfilment: a product in a shipping category with Separate fulfillment, an item that ships only from certain warehouses, a pickup collected from two warehouses, or a fulfilment staff added. Or one fulfilment left in several parcels.
"I cannot change the status." Use the buttons on the fulfilment's card; each step leads only to the next. A fulfilment in transit or delivered cannot be cancelled.
"The Activity says a fulfilment is short of stock." The customer paid after the stock hold had ended, and another order took the stock in the meantime. The order stands: restock the warehouse, or move the pending fulfilment to a warehouse that holds the items with Edit warehouse or external ID.
"We cancelled a fulfilment, but the customer was not refunded." Cancelling deals with the goods only. Return the money with Refund Order.