Set your shop location and delivery radius

Enter your shop’s latitude and longitude once, then set a maximum delivery radius in kilometres or miles. At checkout, Distance Master measures the real driving distance from your shop to the customer’s postcode.

Steps

  1. Find your coordinates. In Google Maps, right-click the shop and click the coordinates to copy them. In OpenStreetMap, right-click and choose “Show address”, or read the URL.
  2. Open Distance Master in the admin menu and enter the shop latitude and longitude.
  3. Choose the unit: km or miles.
  4. Set the maximum delivery radius.
  5. Tick Enable Radius Gate to turn the check on. Untick it to switch the check off.

How the distance is measured

The customer’s postcode is geocoded with Nominatim (OpenStreetMap). The driving distance is then computed with OSRM, on OpenStreetMap road data. If the distance is outside the radius, delivery is blocked at checkout and the customer sees a popup. See Checkout popups.

Limits

  • Only the customer’s postcode is geocoded, not the full street address.
  • Postcode quality depends on OpenStreetMap data for your country; some postcodes may not resolve.
  • The public Nominatim and OSRM servers have fair-use policies. High-volume stores should run their own OSRM instance.

Next: Shipping tiers.

About: RMH Distance Master for WooCommerce is a free plugin (GPLv2 or later) by Rabbit Marketing House, version 1.2.0. Related: Distance Master docs · Installation · FAQ

Last updated