Distance Based Shipping for Magento 2






- Customize name & title
- Use Google Geocode API
- Add your warehouse location
- Select distance unit
- Display a custom error message
- Define distance tiers and shipping costs
- Apply charges on whole cart or per item
- Charge a fixed or per unit amount
- Enable for a specific duration
- Apply to specific customers or customer groups
- Set advanced conditions
- Display on multiple pages
- Description
- Reviews
- FAQS
- Customization
- Change Log
Optimize shipping rates based on customer distance with Magento 2 Distance Based Shipping. Automatically calculate and apply fair shipping costs using Google Geocode API, distance tiers, and advanced conditions to improve customer satisfaction and reduce cart abandonment.


Challenge
Traditional shipping methods in Magento 2 are often not optimized for distance, leading to unfair shipping costs — either too high for customers or too low to be profitable for merchants. Additionally, flat-rate shipping fails to account for varying distances, which can drive up operational costs or result in customer dissatisfaction.


Solution
The Magento 2 Distance Based Shipping Extension resolves this by dynamically calculating shipping costs based on the customer’s distance from your warehouse. By integrating Google Geocode API, setting custom distance units, and defining tiered shipping rates, merchants can ensure fair and transparent pricing. Advanced conditions allow shipping customization for specific customers, groups, or locations, creating a flexible and efficient shipping strategy.
Distane Based Shipping Extension for Magento 2
89.99
Top 6 Features Of Magento 2 Distane Based Shipping Extension
Detailed Features of Distance Based Shipping Extension
What is Distance Based Shipping?
Give a Custom Name & Title to the New Shipping Method
Take Advantage of Google Geocoding to Calculate Distance
Add Warehouse Location
Select the Distance Unit
Display Error Message
Define Tier Shipping Costs
Choose Shipping & Distance Parameters
Apply to Specific Customer Groups
Apply to Specific Customers
Set Conditions
Display on Multiple Pages
The default shipping methods in Magento 2 are not optimized enough. They sometimes go in customer’s favor and other times against them depending upon their distance from the store’s warehouse. Distance based shipping addresses this and offers freight rates based on the distance between the two locations. Longer the distance, higher the shipping fee.
Give a custom self explanatory name and title to the new shipping method. Both these titles appear on the frontend and convey what this new shipping method is about.
The extension allows you to take advantage of the Google Map API to calculate distance accurately. Just provide the API Key which will calculate the distance from the origin address and the destination address. The API key is mandatory to use the Google Geocoding service.
Add your warehouse location that will serve as the origin address. This address will automatically generate the latitude and longitude of the location.
Calculate the distance in Kilometer and Feet or Mile and Meter. The calculated distance is shown on frontend with the relevant unit. Also select whether the cost is by air or by road.
Draft an error message that will be displayed in case the distance based shipping is not available. For example, if you have restricted distance based shipping to specific customers/customer groups or countries/regions, you can inform customers that this shipping method is not available for this customer group or country. You can choose not to display this method at all if not applicable in which case the error message won’t appear.
You can create multiple distance tiers and their shipping costs. The distance is calculated between your warehouse and the customer’s shipping destination and the shipping cost is automatically applied according to the tier the customer falls into.
Choose whether you would like to apply the shipping charges on the whole cart or per item. If you choose ‘Per Item’, the charges are multiplied by the number of items in the cart.
You can also choose whether you would like to apply a fixed or per unit shipping charge. If you choose ‘Per Unit’, the charges are multiplied by the number of distance units.
This feature allows you to provide distance based shipping to specific customer groups only. For example, you may want only wholesalers to have access to this shipping method and not retailers. You can do so by selecting ‘Wholesale’ and leaving ‘Retailer’ unselected.
Not only customer groups, you can also restrict distance based shipping to specific customers. Only the customers you select will be able to see this shipping method.
Use different cart attributes to set conditions that will trigger the rule. For example, if you want to restrict the distance based shipping method to a specific country, you can specify the country by using the ‘Shipping Country’ attribute. If no condition is set, the rule will apply in all scenarios.
Customers will see the distance based shipping cost on the following pages.
- Cart page
- Checkout page
- 'My account' order view page
- Magento generated Emails & PDFs
Distane Based Shipping Extension for Magento 2
89.99
Ole Grave
5Great Work
The extension offers literally all the possible features to implement an effective distance based shipping method.
Miles
5Best Among Competitors
I compared this module from different vendors and found FME offering more features for less. Happy I picked it.
Distane Based Shipping Extension for Magento 2
89.99
Distane Based Shipping Extension for Magento 2
89.99
Distane Based Shipping Extension for Magento 2
89.99





