Description
Stop losing sales to imprecise delivery zones. Distance Master uses real driving distances — not straight-line guesses — so you deliver exactly where you can, every time.
Whether you run a restaurant, local shop, or regional delivery service, Distance Master gives you complete control over who gets delivery, how much they pay, and when you deliver — all from a single settings panel inside WooCommerce.
Why Distance Master?
Most WooCommerce shipping plugins use postcodes or straight-line radius, which fail in the real world. A postcode 3 km away might take 20 minutes to drive, while one 8 km away takes 12. Distance Master uses real driving routes via OSRM + OpenStreetMap — the same open-source technology powering routing apps — completely free with no API key, no account, no subscription required.
Core Features
Distance-Based Shipping Tiers
Define unlimited distance bands (e.g. 0-5 km, 5-10 km, 10-20 km) with custom shipping fees for each. Customers outside your delivery range are automatically blocked at checkout.
7-Day Delivery Schedule
Set open/closed hours for each day of the week. Customers see live delivery availability so they only order when you can actually fulfil.
Blackout Dates
Block public holidays, staff leaves, or any date you need — delivery is automatically disabled on those days without any manual intervention.
Emergency Toggle
Pause all deliveries instantly with one click. Re-enable just as fast. Perfect for unexpected closures or kitchen emergencies.
Postcode Overrides
Manually allowlist or blocklist specific postcodes regardless of distance. Handle problem areas or VIP zones with precision.
Strict Delivery Products
Mark individual products as “Strict Delivery” — they can only be purchased with a valid delivery method. Great for perishables, same-day items, or temperature-sensitive goods.
Smart Postcode Caching
Distance results are cached per postcode for 30 days, so repeat customers get instant responses with zero additional external API calls.
100% Free APIs — No Keys, No Subscriptions
Powered by OpenStreetMap’s Nominatim (geocoding) and Project OSRM (routing). No accounts to create, no costs to manage.
Perfect For
- Restaurants and food delivery businesses
- Local grocery and retail stores
- Florists and gift shops offering same-day delivery
- Beverage and alcohol delivery services
- Bakeries and artisan food producers
- Any local business running WooCommerce delivery
How It Works
- Enter your shop’s latitude and longitude in the plugin settings
- Define your distance tiers and the shipping fee for each
- Configure your weekly delivery schedule and any blackout dates
- Done — Distance Master handles eligibility and pricing automatically at checkout
Customers simply enter their postcode at checkout. Distance Master geocodes it via Nominatim, calculates the real driving distance via OSRM, and applies your rules — all in real time.
Privacy & Data
Only the customer’s postcode is sent to Nominatim to resolve coordinates. No names, emails, or addresses are ever transmitted to any external service. Results are cached locally for 30 days to minimise outbound requests.
External Services
This plugin connects to two free, open-source services to calculate delivery eligibility.
1. Nominatim (OpenStreetMap)
Converts a customer’s postcode into geographic coordinates (latitude/longitude).
Data sent: postcode string only. No PII is transmitted.
– Usage Policy: https://operations.osmfoundation.org/policies/nominatim/
– Privacy Policy: https://osmfoundation.org/wiki/Privacy_Policy
– Terms of Use: https://osmfoundation.org/wiki/Terms_of_Use
2. OSRM (router.project-osrm.org)
Calculates the real driving distance between your shop and the customer’s coordinates.
Data sent: your shop’s coordinates (set by you in settings) and the customer’s resolved coordinates.
– Project Page: https://project-osrm.org/
– Source and Terms: https://github.com/Project-OSRM/osrm-backend
No personally identifiable information is ever sent to either service.
How to Find Your Shop Coordinates
- Open Google Maps or OpenStreetMap and locate your shop
- Right-click and select “What’s here?” (Google) to see the coordinates
- Enter the latitude and longitude into the Distance Master settings page
Support
For support and documentation, visit https://rabbitmarketinghouse.in
Installation
- Upload the plugin folder to
/wp-content/plugins/ - Activate via Plugins -> Installed Plugins
- Go to WooCommerce -> Distance Master in the admin menu
- Enter your shop’s latitude and longitude
- Set up your distance tiers, schedule, and any postcode or product rules
FAQ
-
Does this require an API key or account?
-
No. Distance Master uses OpenStreetMap Nominatim and Project OSRM — both completely free and open-source. No registration, no API key, no subscription.
-
How is driving distance calculated?
-
Driving distance is calculated using the OSRM routing engine with OpenStreetMap road data. This gives real road-network distances, not straight-line (“as the crow flies”) estimates.
-
Can I set different shipping rates for different distances?
-
Yes. You can define unlimited distance tiers, each with its own label and shipping cost. For example: 0-5 km = free, 5-10 km = £2.99, 10+ km = blocked.
-
What happens if a customer is outside my delivery range?
-
They cannot select a delivery method at checkout. You can customise the message they see so they understand why delivery is unavailable in their area.
-
Can I block deliveries on public holidays?
-
Yes. The Blackout Dates feature lets you block any specific dates from a calendar picker. Delivery is automatically disabled on those days.
-
Will it slow down my checkout?
-
No. Distance results are cached per postcode for 30 days. Most returning customers experience zero additional load time. Only the first lookup per postcode makes an external request.
-
Is this GDPR-compliant?
-
Yes. Only postcode data is transmitted to external services — never any personally identifiable information. Results are cached locally, not on third-party servers.
-
Can I restrict certain products to delivery-only customers?
-
Yes. Enable “Strict Delivery” on any product and it becomes unavailable to customers outside your delivery range.
-
Does it work with WooCommerce Blocks checkout?
-
Classic checkout is fully supported. Block-based checkout compatibility is under active development.
-
What WooCommerce version does it require?
-
Requires WooCommerce 5.0 or later. Tested up to WooCommerce 8.x.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“RMH Distance Master for WooCommerce” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “RMH Distance Master for WooCommerce” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.2.0
- Added Strict Delivery product-level rules
- Added 30-day postcode result caching for faster checkout
- Improved schedule enforcement logic at checkout
- UI polish across settings panel
1.1.0
- Added blackout dates calendar
- Added emergency delivery toggle
- Added postcode override controls (allowlist / blocklist)
1.0.0
- Initial release: real driving distance tiers, 7-day delivery schedule
