A Free WooCommerce Delivery Route Planner Plugin

If you run a WooCommerce store that delivers its own orders (a bakery, a florist, a meal-prep kitchen, a farm box), you probably plan the next day’s runs by staring at the order list and a map. I built a free WooCommerce delivery route planner for exactly that moment. It’s a plugin called Kind of Lost Route Optimizer for WooCommerce, and WordPress.org approved it this month. You pick the orders, say how many vehicles you have, and it hands back one route per vehicle with arrival times and a Google Maps link for each driver.

Below: what it does inside your admin, a walk through one planning run, what it sends out of your site (worth knowing before you install anything that talks to a server), and the limits I put on it on purpose.

Why a plugin, when the tool already exists

My free route optimizer has been online for a while. It takes a spreadsheet, or a pasted list of addresses in the small embeddable version, and returns routes. The trouble for a store owner is the step before that. Your delivery addresses live in WooCommerce, so using the web tool means exporting orders, cleaning the export into my column layout, uploading it, and then matching the routes back to order numbers. Every day. Nobody does that twice.

The plugin removes the copy-paste. It reads the orders straight from WooCommerce, sends only what the solver needs, and shows the result on a page in your admin, with each stop linked back to its order. Same engine underneath, minus the spreadsheet.

I should say I ran a WooCommerce store myself, and it never delivered a single box (it sold tradelines, which arrive on a credit report, not a doorstep). So this plugin comes from the routing side of my work, not from years of driving a van. If something in it doesn’t fit how a real delivery day goes, I’d like to hear about it.

What it does in your WooCommerce admin

After you activate it, there’s a new page under WooCommerce > Delivery Routes. Nothing is added to the storefront, checkout or customer emails, so your customers never see it. Only users who can manage WooCommerce can open the page.

First you set two things once, in the Settings tab: the depot address (where the vans start and come back) and whether your addresses are in the US or somewhere else. Then, each time you plan, you choose which orders go in. By default that’s orders in Processing status created within a date range. WooCommerce has no delivery date of its own, so if you use a delivery-date or time-slot plugin that saves the date in an order meta field, you can type that field’s name in Settings and filter on it instead.

Then you say how many vehicles you have, how many orders each one can carry and what time they leave, and press Plan routes. What comes back is one table per vehicle:

  • the stops in driving order, with an estimated arrival time at each
  • the order number, linked to the order screen, plus customer name, address and phone
  • a Google Maps directions link for the whole route
  • a driver page link that opens on a phone with tap-to-navigate for every stop

There’s also a CSV download of the whole plan, if you’d rather print it or paste it somewhere else. The plan is kept for an hour so the download works, and then it’s gone.

Kind of Lost Route Optimizer for WooCommerce plugin banner

How the routes get planned

When you press the button, the plugin makes one request to my routing service. The service turns each address into coordinates, gets real driving times between every pair of stops from a public OpenStreetMap routing server, and then runs Google’s open-source OR-Tools vehicle routing solver. The solver decides which orders go in which vehicle and in what order, keeping the total time on the road as low as it can find, while no vehicle carries more orders than you allowed.

It’s the same approach I described in how to plan a delivery route the way a solver does it, so I won’t repeat the theory. Two practical things are worth knowing, though. The solver searches for a set time (20 seconds by default; you can give it anywhere from 5 to 60) and returns the best routes it found. They’re good routes, but not proven to be the best possible. And the arrival times are estimates from road data, not live traffic, so treat a 10:40 as “around 10:40.”

If a plan takes longer than 45 seconds, the page says so and gives you a Check again button instead of leaving you staring at a spinner. Orders with no usable address (no street, or no city and no postcode) are skipped and listed under the results, so you know which ones to fix rather than wondering why a stop vanished.

What leaves your site, exactly

Any plugin that sends customer data to an outside server deserves a straight answer here, and WordPress.org rightly makes you write it in the readme. This one sends nothing until an admin presses Plan routes. When you do, it sends the depot address, and for each selected order an identifier built from the order number (like “#1234”), the delivery address, and a quantity of 1. It also sends the number of vehicles, their capacity, the departure time and the search time.

It does not send customer names, phone numbers, email addresses or what they ordered. The names and phones you see in the result tables are filled in by the plugin on your own site, after the routes come back. On my side, addresses are geocoded through public geocoders and the coordinates go to the public routing server, as the privacy policy spells out. The Google Maps links are plain links, so your site doesn’t contact Google at all; your browser does, when you click one.

The limits, on purpose

The routing service is free and runs on one modest server, so the plugin has caps. Up to 49 orders per run (the service looks up 50 addresses per request, and your depot is one of them), up to 25 vehicles, one depot, and one trip per vehicle. There’s also a rate limit of roughly 20 planning runs per 10 minutes per website, which a store planning its day will never hit.

Every order counts as one stop and one unit of capacity. So “capacity 12” means twelve orders, not twelve boxes or 200 pounds, and there are no delivery time windows yet. If you need more than 49 stops in a day, split the run by date range or status, or use the full web tool, which has no stop cap and does handle time windows, service times and up to three kinds of capacity. If your orders are already in a spreadsheet instead of a store, my Google Sheets route planner does the same job inside Sheets.

Getting it, and one confession

Search for “Kind of Lost Route Optimizer” from the Plugins screen of your site, or download it from its WordPress.org page. WooCommerce has to be active. Enter your depot address in Settings, and your first plan is about a minute away.

The confession: the code was the easy part. WordPress.org still distributes plugins through Subversion, which I hadn’t touched in many years, and the day it was approved I installed the SVN client, typed the command to check it, and got “svn is not recognized.” The installer leaves the command-line tools switched off unless you go looking for them. (Twenty years of optimization models, beaten by a checkbox.) It went up on the second try.

It’s free and GPL, with no paid tier waiting behind it. If it plans a route that a driver who knows your town would laugh at, email me at [email protected]. I’d rather hear about the bad route than not.

Tradeline Supply
Things that I use, like, and am affiliated with:
Mint Mobile offers great cell phone service for $15 flat, get $15 off using the link. Get discounted phones with service activation and no contract.
I never spend money before I check Mr Rebates or Rakuten to get cashbacks, rebates, discounts, coupons or cheaper gift cards.

Leave a Reply