Magento 2 Distance Based Shipping

Installation and User Guide for Magento 2 Distance Based Shipping Extension

Table of Contents

  1. Installation
    • Installation via app/code
    • Installation via Composer
  2. Configuration Settings for Distance Based Shipping
    • Order Tags Logs
    • Order Tags Grid
    • General Settings
  3. Shipping Cost
  4. Pick Store / Website Address from

Installation

https://docs.scommerce-mage.com/magento-2-extensions/installation-via-composer/installation-via-composer

Configuration Settings for Distance Based Shipping

Go to Admin > Stores > Configuration > Sales> Delivery Methods > Distance Based Shipping

General Settings

image.png

image.png

Shipping Cost

Go to Admin> Stores > Sales > Delivery Methods > Distance Based Shipping

image.png

Shipping Method Configuration

image.png

When a customer enters an address on the checkout page, the system calculates delivery cost based on the distance from the origin address and the distance ranges configured are as follows: -

Refer to the screenshot below to validate the shipping methods based on calculated distance fall under the above configured distance ranges: -

Frontend images based on above configured distance ranges:

image.png

image.png

image.png

Pick Store / Website Address from

image.png

Website Source - To add a website source, navigate to: Admin > Stores > Configuration > Sources From there, you can enter the required source details.

image.png

General - Store Information – Displays the store address as configured in the Store Settings section. This information is automatically pulled from the predefined store configuration. To configure, navigate to Admin > Stores > General > Store Information and enter the store address. This address will be used as the source (origin) for distance-based calculations.

image.png

Enter Address Manually – Enables administrators to input geographic coordinates—latitude and longitude—directly, bypassing automated location detection or map-based selection.

To configure this manually, navigate to: Admin > Stores > Sales > Delivery Methods > Distance-Based Shipping From there, enter the desired latitude and longitude values. These coordinates allow Google Maps to accurately detect and associate the location for distance-based calculations.

image.png

If you have a question related to this extension please check out our FAQ Section first. If you can't find the answer you are looking for then please contact support@scommerce-mage.com.


Revision #14
Created 19 August 2025 11:01:43 by scommerce
Updated 24 October 2025 09:48:34 by scommerce