You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow customers to select which inventory location fulfills their order, or have the system automatically select a location based on criteria such as proximity, rather than relying solely on the store-defined priority order.
Use Case
We operate multiple warehouse locations (e.g., Auckland and Wellington). Currently, Commerce 5's multi-location inventory system works as a failover mechanism — if Location A runs out of stock, it pulls from Location B based on priority order.
However, we need more control over which location ships an order. This would enable:
Faster delivery – Customer selects (or the system auto-selects) the warehouse closest to them
Location-specific shipping costs – Different shipping rates depending on the origin warehouse
Stock transparency – Customer can see stock availability per location before purchasing
Split fulfillment awareness – Customer understands when items may ship from different locations
Current Limitation
The inventory location system is entirely backend-controlled. There is currently no mechanism to:
Expose location-level stock to the frontend
Allow customer preference to influence which location commits inventory
Auto-select a location based on customer address or region
Store a location preference per line item
Suggested Capability
Provide a way to:
Query available stock per location for a purchasable (for frontend display)
Attach a preferred location to a line item (via options or a dedicated field)
Have orderCompleteHandler respect that preference when committing inventory
Optionally auto-select a location based on shipping address (e.g., nearest warehouse or same region)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Allow customers to select which inventory location fulfills their order, or have the system automatically select a location based on criteria such as proximity, rather than relying solely on the store-defined priority order.
Use Case
We operate multiple warehouse locations (e.g., Auckland and Wellington). Currently, Commerce 5's multi-location inventory system works as a failover mechanism — if Location A runs out of stock, it pulls from Location B based on priority order.
However, we need more control over which location ships an order. This would enable:
Current Limitation
The inventory location system is entirely backend-controlled. There is currently no mechanism to:
Suggested Capability
Provide a way to:
orderCompleteHandlerrespect that preference when committing inventoryBeta Was this translation helpful? Give feedback.
All reactions