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

How it works

  1. Install and activate; WooCommerce must be active.
  2. Enter your shop’s latitude and longitude, the unit and the maximum radius.
  3. Add shipping tiers and an optional base fee.
  4. Set the weekly schedule, blackout dates and the emergency toggle if needed.
  5. Optionally use manual postcode mode, or mark products as Strict Delivery.
  6. 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

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

Get it free on WordPress.orgDocs