WDMarket Multi Warehouse
WooCommerce · Custom WooCommerce Plugin
Route every WooCommerce order to the nearest warehouse that has stock, automatically.
THE PROBLEM
A WooCommerce retailer ran several warehouses and was assigning every order to one of them by hand. That meant slow dispatch, the wrong warehouse picked for distant customers, and oversells when two orders hit the same stock at the same time.
The off the shelf multi location plugins either ignored distance or charged a fee per order, so I built one that routes on real geography and owns the logic outright.
HOW IT WORKS
- Geocodes the customer shipping address at checkout
- Calculates the distance from the customer to every active warehouse
- Checks live stock at each warehouse and assigns the closest one that can fulfill the order
- Reserves stock per warehouse so two orders cannot claim the same unit
- Falls back to a surcharge rule when no single warehouse holds everything
- A catalog filter shortcode lets shoppers browse by warehouse
- HPOS compatible, so it works with the modern WooCommerce order tables
RESULTS
- Removed the manual step of picking a warehouse for every order
- Cut wrong warehouse assignments for distant customers
- Stopped oversells during concurrent checkout traffic
WHAT I’D DO DIFFERENTLY
I would push the distance math into a background queue and cache resolved coordinates per postcode. Geocoding at checkout is fine at normal volume, but during a rush it adds latency, and taking it off the critical path would keep checkout snappy under load.
Need a plugin like this?
I build custom WordPress and WooCommerce plugins that solve the exact problem off the shelf tools miss. Tell me what you are wrestling with.
START A CONVERSATION