Nearship

Distance-based shipping for WooCommerce

Charge delivery by distance, from your nearest store.

Nearship finds the customer's address on the map, picks the store or warehouse closest to them and prices delivery with your rules: distance bands, a price per km or mile, delivery areas you draw, and store pickup for everyone else.

  • No Google key needed
  • Block and classic checkout
  • HPOS compatible
Olive & Oak Bakery2 shops · same prices as the demo
Click the map to place a customer © OpenStreetMap contributors
Bakery delivery from Leidseplein (6.8 km) €4.90 Band 5–10 km, flat price
Order

Bands: 0–5 km €2.90 · 5–10 km €4.90 · 10–25 km €1.20 per km · free from €60. Straight-line distance, worked out in your browser the same way the plugin does it.

First frame of the video: Delivery priced by distance, over the Nearship editor

Fourteen seconds, real screens

Recorded in the demo store, no mock-ups. Here's what you're seeing.

  1. Try an address. The editor shows the price, the shop that ships and the distance before you save.
  2. Draw a delivery area and set prices by distance, flat or per km.
  3. Outside the area, checkout offers pickup at your shops with your own message.

The video plays from YouTube when you press play. Watch it on YouTube

A flat delivery fee is wrong for most of your customers

WooCommerce charges by zone: a whole postcode area or country pays one price. With more than one shop, or customers spread across a city, that overcharges some and undercharges others.

Zones and flat rates

  • Next door and 20 km away pay the same
  • One origin address, even if you have two shops
  • No way to say "we deliver up to here" on a map
  • Distance plugins on Google's legacy Distance Matrix API don't work on new Google projects

Nearship

  • Prices by distance bands or per km, with base, minimum and maximum fees
  • Each order priced from the closest shop, which is saved on the order
  • Delivery areas drawn as polygons or circles
  • OpenStreetMap by default; Google Routes API, Mapbox or openrouteservice for driving distance

How it works

It's a normal WooCommerce shipping method, so it sits in your zones next to Flat rate and Free shipping.

  1. Add Nearship to a shipping zone

    In WooCommerce › Settings › Shipping. Each zone gets its own shops, prices and areas.

  2. Set it up on one page

    Add shops by address, set your bands and draw where you deliver, with a map that updates as you type.

  3. Customers get a price at checkout

    The label names the shop and distance, for example "Bakery delivery from Haarlem (7.2 km)".

WooCommerce › Nearship › Bakery delivery
"Try an address" in the demo editor: the price a customer would get, using the changes on the page before you save.

Inside the admin

One editor per shipping zone, under WooCommerce › Nearship. These are screenshots of the demo store, which you can log in to.

Shops, prices and a map on one page

Instead of a cramped settings popup, each zone has a full-page editor. Test any address against your unsaved changes.

  • Add shops by address, drag the pin to fine-tune
  • The price, shop and distance for any address
  • Warns before you leave with unsaved changes
WooCommerce › Nearship › Bakery delivery
Nearship editor: Try an address shows €4.90 from Leidseplein, 7.1 km away, with two shops listed and a map of Amsterdam and Haarlem

What your customers and orders show

The shop and distance appear at checkout, and the order keeps them, so you know who ships it.

Checkout
Block checkout for a Zandvoort address: Bakery delivery from Haarlem (7.2 km) €4.90, and free pickup at Haarlem or Leidseplein
A Zandvoort address is 24 km from Amsterdam but 7 km from Haarlem, so Haarlem ships it.
WooCommerce › Orders
Order screen: shipping line Bakery delivery from Haarlem (7.2 km) with Delivery distance 7.2 km and Ships from Haarlem
The order records the delivery distance and the shop that ships.

Also in the box

Built for the WooCommerce you run today.

Block and classic checkout

Works with the Cart and Checkout blocks and the classic shortcode checkout.

HPOS compatible

Distance and shop are saved on the shipping line with WooCommerce's order storage.

Kilometres or miles

Switch the unit per zone; per-unit prices follow.

Looked up once

Addresses and routes are cached for 30 days, so a returning customer costs no extra lookups.

No wrong prices

An address that can't be found gets no delivery price rather than a guessed one.

Translation ready

Every string is translatable and a .pot file is included. Uninstall removes all its data.

OpenStreetMapDefault. No key, straight-line distance.
Google Maps PlatformGeocoding API and the current Routes API.
MapboxGeocoding and Directions.
openrouteserviceOpen-source routing, free key available.

Nearship has no subscription and no service of its own. Google, Mapbox and openrouteservice may charge for usage under their own pricing; you sign up with them and pay them directly. Without a key, Nearship uses OpenStreetMap's free Nominatim service at one request per second.

One payment, no subscription

Buy it direct from us, or on CodeCanyon if you already shop there. It is the same plugin.

Buy direct

$35one-time

One WordPress site. No subscription.

  • The full plugin, GPL source
  • 1 year of updates and email support
  • Licence key and download link by email within a minute
  • 30-day refund
Buy Nearship – $35

Also on CodeCanyon

$35Regular

Envato's Regular ($35) and Extended ($224) licences, with 6 months of support through CodeCanyon.

  • The same plugin
  • Future updates
  • Support via the CodeCanyon item page
  • Envato's terms and refund policy
See it on CodeCanyon

Prices in US dollars, excluding tax. Direct purchases are sold by Paddle.com as Merchant of Record, which issues the invoice and handles VAT and refunds. Terms: licence · 30-day refund policy.

Questions

Something else? Read the documentation or log in to the admin demo and try it.

Do I need a Google API key?

No. Out of the box Nearship finds addresses with OpenStreetMap and measures straight-line distance. Google, Mapbox and openrouteservice are optional, for driving distance.

Will a map provider cost me money?

It can. Providers bill you directly under their own pricing and free tiers. Nearship caches every address and route for 30 days, and only routes to the three closest shops, so the number of lookups doesn't grow with more shops.

What happens if my key stops working?

Nearship falls back to OpenStreetMap and straight-line distance, so the customer still gets a price. "Test connection" in the settings tells you whether a key works.

What does a customer outside my area see?

No delivery option, your own message, and pickup at your shops if you turned pickup on.

Does it work with the new checkout?

Yes, with the WooCommerce Cart and Checkout blocks and with the classic checkout. It's also compatible with HPOS order storage.

What do I need?

WordPress 6.5 or newer, WooCommerce 8.0 or newer and PHP 7.4 or newer.

Where do I get support?

Bought here: email support@webkoding.com with your licence key. Bought on CodeCanyon: use the Support tab on the item page. Either way, include your WordPress, WooCommerce and PHP versions and the address you tested.

Charge what the delivery actually costs

Pick a scenario in the demo store and check out. Then log in to the admin demo and see how it's set up.