Configuration
Settings of Local Delivery Zones, Minimums & Fees and how radius zones find the customer’s position. Back to the overview; zone editing is in Usage.
Open Add-ons > Manage add-ons > Local Delivery Zones, Minimums & Fees > Settings.
General
Section titled “General”| Setting | Default | What it does |
|---|---|---|
| Enable | On | Switches the local delivery rates, the checker and the checkout notes on or off. Zones are kept. |
| Distance unit | Kilometres | Unit of radius zones, the per-distance fee and the shown distances (km or miles). |
| Explain at checkout why local delivery is not available | On | Shows a short note under the shipping methods, for example “The minimum order for delivery to Central is $25.00. Add $7.50 more to your order to get it delivered.” |
| Show the delivery checker on product pages | Off | Adds the postcode checker under the product details. |
| Vendors manage their own zones (Multi-Vendor) | On | Vendors get their own Local delivery zones page for their products. |
| Vendors without own zones use the marketplace zones (Multi-Vendor) | On | When a vendor has no active zone, the marketplace zones apply to that vendor’s products. |
CS-Cart Ultimate: the general settings can be set per storefront.
Radius zones
Section titled “Radius zones”A radius zone needs two positions: the centre of the zone (your shop, depot or store) and the customer’s position. The centre is saved in the zone (latitude and longitude). The customer’s position is found like this:
- Your imported postcode coordinates (fast, private, works offline). Import them once in Local delivery zones > Postcode coordinates.
- OpenStreetMap Nominatim for postcodes that are not imported, when the setting allows it. The answer is cached for 180 days (“not found” for 7 days), so each postcode is looked up once.
| Setting | Default | What it does |
|---|---|---|
| Find customer coordinates with | Imported coordinates, then Nominatim | “Only my imported postcode coordinates” never contacts an outside service. |
| Nominatim URL | https://nominatim.openstreetmap.org |
Use your own Nominatim server here for heavy traffic. |
| Contact e-mail for the public Nominatim service | empty | Optional; sent with each request as the OpenStreetMap usage policy asks. Use a role mailbox of your shop. |
| Radius is measured to | The centre of the customer’s postcode | “Street address” geocodes the full address (more precise, more lookups); it falls back to the postcode. |
| New lookups per visitor and hour | 30 | Protects your Nominatim quota from abuse. Cached postcodes do not count. 0 = no limit. |
Checkout lookups have their own hourly budget (300 per visitor address), separate from the public checker, so the checker cannot use it up. If a lookup is needed but the service fails or a limit is reached, local delivery is not offered for that address until the position is known (“We could not check your address right now”); a per-distance zone is never charged without its distance.
The public Nominatim service allows at most one request per second; the add-on waits its turn across all PHP processes and identifies itself with a User-Agent that names the add-on and your store URL. Distances are straight-line distances, not road distances.
Import postcode coordinates (recommended)
Section titled “Import postcode coordinates (recommended)”- Download the file of your country from the free GeoNames postal code export:
https://download.geonames.org/export/zip/(for exampleUS.zip,GB_full.csv.zip,DE.zip). The data is licensed CC BY 4.0. - Unzip it and upload the
.txtfile in Local delivery zones > Postcode coordinates (administrators only). You can also upload a CSV with the columnscountry,postcode,lat,lng[,place]. - Optionally limit the import to one country. Re-importing replaces existing postcodes.
Privacy
Section titled “Privacy”- What is sent, and to whom: for radius zones and the per-distance fee the add-on needs the customer’s position. For a postcode that is not in your imported coordinates, it sends the postcode and country, and with “Radius is measured to: street address” also the street and city, from your server to the OpenStreetMap Nominatim service of the OpenStreetMap Foundation (UK), or to the Nominatim server you set. Postcode-only zones never need a lookup.
- Nothing to a third party: choose “Only my imported postcode coordinates” (and import the GeoNames file of your country); then no customer data leaves your store.
- Storage: answers are cached for 180 days (“not found” for 7 days, service errors for 10 minutes). Street-address lookups are stored under a hashed key only, without the address text.
- Your privacy policy: if you use Nominatim, mention the address lookup with OpenStreetMap in your store’s privacy policy.
- Attribution: coordinates from Nominatim are © OpenStreetMap contributors (ODbL); the GeoNames postal code data is CC BY 4.0. Both are named on the Postcode coordinates page and next to “Find coordinates”.
Client IP
Section titled “Client IP”The hourly lookup limit counts requests per visitor address. If your store runs behind a proxy or load balancer with a public address, add it on the Client IP tab; Cloudflare and private proxies are recognised automatically.
License
Section titled “License”Enter your license key on the License tab. Without a valid license the local delivery methods are not offered at checkout and the delivery checker is hidden; your zones, coordinates and the delivery data of earlier orders are kept.
Next: Usage.