Shipping Origin

The module Shipping Origin which changes shipping calculation to inventory source-based address instead of general store address.


When you use default Magento you have one origin of your shipments for shipping rate calculation, the Shipping Origin module will leverage Inventory source's address for shipping rate calculation.

The module does require to have a custom inventory stock and inventory sources instead of default ones. Also each in-stock product should be assigned only to at least one custom inventory source.

After configuration inventory stocks, sources and product there no additional configuration need - the module will start to work automatically and calculate shipping rates based on inventory source address.

When you will use this module you will need to make sure that you don't use Default inventory source or stock. The multi-source inventory have default inventory source and stock as fallback to one source based inventory.When default inventory used the priority for item which has multiple inventory sources will not work correctly.


  • Shipping rate based on inventory source address
  • Support of weight based packages for shipping rate calculations
  • The out of the box inventory source functionality leveraged
  • Ability to set priority for each inventory source per inventory stock
  • The out of the box multiple packages functionality used to create shipping rate requests
  • No module configuration required
More Information
Magento Compatibility 2.3.x, 2.4.x
License GNU General Public License v3.0 (GPL-3.0)
Composer Package thesgroup/module-shipping-origin

Automatically Add The Repository

Through an SSH connection, all you have to do is run the following command from your Magento installation directory

composer config composer

Manually Add The Repository

The typical Magento 2 installation has repositories section of composer.json like this:

                "repositories": [
                        "type": "composer",
                        "url": ""

You will need to add a repository by appending an object to the repositories object

                "repositories": {
                    "0": {
                        "type": "composer",
                        "url": ""
                    "": {
                        "type": "composer",
                        "url": ""

How To Install The Module

Once the repository is added to the composer.json file, you can now install the packages that are available through it.

For example, let’s say you want to install the thesgroup/module-shipping-origin module through composer. Run the command below to install it:

composer require thesgroup/module-shipping-origin
Write Your Own Review
Only registered users can write reviews. Please Sign in or create an account