RMH Distance Master: WooCommerce Delivery by Driving Distance
Deliver only where you can, and price delivery by the real road distance.
- Version 1.2.0
- Free, GPLv2 or later
- No API key
- WooCommerce 5.0+

Real driving distance
OSRM routing on OpenStreetMap roads, not a straight-line radius.
Rules you can trust
Delivery hours, blackout dates, postcode rules and an Emergency Closure toggle.
No API key, account or cost
It uses free OpenStreetMap services for postcode lookup and routing.
RMH Distance Master for WooCommerce decides, at checkout, whether an order can be delivered, by real road distance, delivery hours and postcode rules, and prices delivery by distance band. It uses free OpenStreetMap services, so there is no API key, account or subscription.
Who is it for?
A local-delivery gate for businesses that deliver themselves and need rules they can trust: restaurants, grocers, bakeries, florists, alcohol and beverage delivery, and any local WooCommerce shop.
| Who | What they need |
|---|---|
| Restaurant or takeaway owner | Stop orders from places they can’t reach or outside kitchen hours |
| Local grocer, bakery or florist | Charge more the further they drive |
| Alcohol, beverage or perishable seller | Sell certain products for local delivery only |
| Agency building a store for a local client | Deliver the rules without paid map APIs |
| Shop owner with a holiday or emergency | Pause delivery instantly |
What it does
- Real driving distance. OSRM routing on OpenStreetMap roads, not a straight-line radius. See Shop location.
- Distance-based fees. Tiers of maximum distance and fee, plus a base handling fee, as a WooCommerce shipping method. See Shipping tiers.
- Delivery hours and dates. A 7-day schedule with presets and overnight ranges, blackout dates and an Emergency Closure toggle. See Delivery schedule.
- Strict Delivery per product. For perishable or same-day items; the product follows your manual postcode list. See Manual postcodes and Strict Delivery.
- Postcode lists. Manual Pincode Only mode allows only the postcodes you list.
- Checkout popups with a call button. When delivery is unavailable the customer can phone you, so the sale is rescued by phone instead of lost. See Checkout popups.
- No API key, account or cost for geocoding or routing.
- Postcode results cached for 30 days, so repeat postcodes cost no external request.
How it works
- Install and activate; WooCommerce must be active.
- Enter your shop’s latitude and longitude, the unit and the maximum radius.
- Add shipping tiers and an optional base fee.
- Set the weekly schedule, blackout dates and the emergency toggle if needed.
- Optionally use manual postcode mode, or mark products as Strict Delivery.
- Customise the two popups.
At checkout the customer enters a postcode. The plugin checks, in order: nonce, schedule and blackout dates and emergency closure, manual mode, strict products, then the radius. On failure the customer sees the matching popup and WooCommerce receives an error notice.
How it compares
| Straight-line radius plugins | Postcode-list plugins | Distance Master | |
|---|---|---|---|
| Distance basis | As the crow flies | None | Real driving route |
| Paid map API key | Often | No | No |
| Hours and blackout enforcement | Rarely | Rarely | Yes |
| Per-product local-only rule | Rarely | Sometimes | Yes (Strict Delivery) |
Limits
- Classic checkout is supported. Block-based checkout compatibility is in development.
- Distance depends on the public Nominatim and OSRM servers, which have fair-use policies. High-volume stores should run their own OSRM instance.
- Postcode lookup quality depends on OpenStreetMap data for your country; some postcodes may not resolve.
- Only the customer’s postcode is geocoded, not the full street address.
Requirements
| WordPress | 5.6 or later (tested up to 7.0) |
| PHP | 7.4 or later |
| WooCommerce | 5.0 or later |
| Price | Free |
| Licence | GPLv2 or later |
Privacy
Only the customer’s postcode goes to Nominatim, and coordinates go to OSRM. No names, emails, addresses or order data are sent. See Privacy and external services.
Frequently asked questions
Does Distance Master need an API key or account?
No. It uses OpenStreetMap Nominatim and Project OSRM, which are free and open-source. No registration, API key or subscription.
Is it free?
Yes. It is free and licensed GPLv2 or later. There is no paid version.
How is driving distance calculated?
With the OSRM routing engine on OpenStreetMap road data. This is real road distance, not a straight-line estimate.
Can I charge different shipping rates for different distances?
Yes. Add as many distance tiers as you need, each with its own fee, plus an optional base handling fee. See Shipping tiers.
What happens if a customer is outside my delivery range?
They cannot complete delivery at checkout. A popup explains why and can show a call button so they can phone you instead. You edit the message.
Does it work with the WooCommerce block checkout?
Classic checkout is supported. Block checkout compatibility is in development.
More answers are in the Distance Master FAQ.
Ready to try Distance Master?
Control WooCommerce delivery by real driving distance. Set tiers, hours, blackout dates and postcode rules. No API key needed.
By Rabbit Marketing House · Last updated
