Shipping Costs Based on Distance

After you have enabled the module, it is time to walk through the configuration. First, we will need to set up some data for the shipping method that calculates the shipping price. 

You can find these config files at: System > Configuration > Sales > Shipping methods

Magento Shipping price Distant

1. Configure Shipping Based on Distance Extension
Enabled. 
Select if you wish to disable or enable this shipping method.

Title.
The Title of the payment method, which will be shown in the front end.

Method Title.
The method description, which will be shown in the front end. 

Magento Shipping price Distant

2. Distance Calculation.
Store Address. 
Enter your address e.g. Street X, Postal/zip code, City, Country.

Calculation Field.
Only Postal code, City & Country for the calculation based on the postal code and city.
Select Full address to calculate the shipping distance based on the address. 

Metric.
Select wether you want to use Miles or Kilometer.

Round Distance.
Select if and how you wish to round up the total distance.

Round Price.
Select if and how you wish to round up the total price.

Magento Shipping price Distant

3. Calculation.
In this table you can set-up the shipping calculation the way you want. 
You can use the fixed and price per metric calculation method to calculate a total shipping price.
Add unlimited zones to calculate the right shipping price.

Magento Shipping price Distant

4. Mimimum and Maximum Shipping Price.
Use Minimum and Maximum.
Select yes to use a minimum and maximum shipping price for this method.

Minimal Price.
Select the minimal price for the shipping method.

Maximum Price.
Select the maximum price for the shipping method.

Maximum Distance and Visibility.
Maximum Distance.
Enter a maximum distance for the shipping method.

Above Maximum Distance.
Select the action when the maximum distance is reached.

Error Message.
When selected the error message, fill in the message you want show.

Magento Shipping price Distant

5. Free Shipping.
Enable Free Shipping.
Select if you want to enable a minimal order amount to use the Free Shipping.

Minimum Order Amount for free shipping.
If activated, enter the order amount from where the free shipping needs to be activated.

Minimum Order Amount.
Enable Minimum Order Amount
Select if you want to enable a minimal order amount to use this shipping method.

Minimum Order Amount.
If activated, enter the order amount from where this shipping methods needs to be activated.

Below the minimum order amount.
Select the action when the minimum order amount is not reached.

Error Message.
When selected the error message, fill in the message you want show.

Magento Shipping price Distant

6. Address Not Found.
If the address is not found (Zip/Postal code incorrect).
Select what to do when the customer address is not found. You may choose between;
- Show message
- Hide method 

Error Message.
When "Show message" is selected, you may fill in the message in this option.

Magento Shipping price Distant

7. Countries and Sort order
Ship to Applicable Countries.
Select the countries that are able to use this shipping method.

Ship to Specific Countries.
Create a selection of the countries that are able to use this shipping method.

Displayed Error Message.
Choose the error message that is shown when the shipping method is not available in the selected country.

Sort Order.
Choose the sort order for the method.