Delivery depending on distance (by mileage) OpenCart

Delivery depending on distance (by mileage) OpenCartDelivery depending on distance (by mileage) OpenCart
BonusBonus +49 грн. to your account
Special price:399 грн.
Old price:699 грн.
You save:300 грн.


Characteristics
OpenCart3.0
XML modificationYes
LocalizationEnglish, Ukrainian, Russian
Statistics 6445 96
Added05.07.2023
Updated17.03.2026 · 4 months ago
Files shipping-distance-google-api_oc3x.ocmod.zip

The "Distance-Based Delivery" module makes delivery costs logical and transparent the price is calculated based on the actual distance from your store to the customer's address, not just by eye. The calculation is performed using Google Maps Distance Matrix, so you get road kilometers, and the customer sees a clear delivery name with the distance indicated.

What the module can do

  • Automatically determines the distance from the store to the delivery address (city + address).
  • Supports 2 tariff sets “in the city” and “out of town”.
  • Displays text like this in the order form: “… (Distance: 12.35 km)”.
  • Works with geofences, tax class and shipping method sorting.
  • Enables Google Maps JS (Places) on the checkout page (including SimpleCheckout).

What data does it use?

  • Store address (reference point).
  • Buyer's city and address from shipping_address.
  • Google Map KEY_API.
  • Lists of cities (comma separated) for the "by city" definition.
  • Tariff grids in the format km:price (separated by commas).

Important: Tariffs are set as thresholds. The module takes the first value where "tariff km ≥ calculated km."

Example of setup and application

If you offer cheaper delivery within a city, add the city (or multiple language versions of the name) to the city list field, and then set two sets of rates:

  1. Rates for the city: for example 1:150, 3:250, 5:350
  2. Rates outside the city: for example 5:500, 10:900, 20:1600

Ideal for courier delivery, when the price depends on the distance of the area or when delivering to the suburbs.

File Name Added Modified
shipping-distance-google-api_oc3x.ocmod.zip
Size: 19.82 KB
05.07.202317.03.2026

Leave your review about this product

Bonus Get bonus +100 грн. for your review Bonus program

Write a review

Note: HTML is not translated!
AI Assistant

Recently viewed

3.x
Delivery depending on distance (by mileage)
699 грн.399 грн.
0
6446 96
2.x, 3.x
Bonus points module
699 грн.399 грн.
0
21543 239

Featured

Multi-warehouse + pick-up
699 грн.399 грн.
Multi shipping by formula
699 грн.399 грн.