PHPackages                             magmodules/magento2-hyva-distance-based-shipping - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. magmodules/magento2-hyva-distance-based-shipping

ActiveMagento2-module[Utility &amp; Helpers](/categories/utility)

magmodules/magento2-hyva-distance-based-shipping
================================================

Hyvä Themes Compatibility module for Magmodules DistanceBasedShipping

v1.0.0(2y ago)04331OSL-3.0HTML

Since May 15Pushed 1y ago1 watchersCompare

[ Source](https://github.com/magmodules/magento2-distance-based-shipping-hyva)[ Packagist](https://packagist.org/packages/magmodules/magento2-hyva-distance-based-shipping)[ RSS](/packages/magmodules-magento2-hyva-distance-based-shipping/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

[![330363534-5c6e2fa4-efff-4e8d-9915-acc271ab3a2c](https://private-user-images.githubusercontent.com/24823946/330847198-1c443125-7ba2-4cc0-9bd5-23044402a0dd.jpg?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzUwMDg2MDIsIm5iZiI6MTc3NTAwODMwMiwicGF0aCI6Ii8yNDgyMzk0Ni8zMzA4NDcxOTgtMWM0NDMxMjUtN2JhMi00Y2MwLTliZDUtMjMwNDQ0MDJhMGRkLmpwZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA0MDElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwNDAxVDAxNTE0MlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWYxZjI5NWI5ZmY2YjcyMzU2MjgxZGNiZWJiNzlkYWJhM2I0OTI2MGMzZTJkY2RlNTMwYWVlMGU5YmM1OWJjZjUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.MFIp6YthBKlt0KRC_LznICx8mbYP3oU9-etVIHgBJXE)](https://private-user-images.githubusercontent.com/24823946/330847198-1c443125-7ba2-4cc0-9bd5-23044402a0dd.jpg?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzUwMDg2MDIsIm5iZiI6MTc3NTAwODMwMiwicGF0aCI6Ii8yNDgyMzk0Ni8zMzA4NDcxOTgtMWM0NDMxMjUtN2JhMi00Y2MwLTliZDUtMjMwNDQ0MDJhMGRkLmpwZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA0MDElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwNDAxVDAxNTE0MlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWYxZjI5NWI5ZmY2YjcyMzU2MjgxZGNiZWJiNzlkYWJhM2I0OTI2MGMzZTJkY2RlNTMwYWVlMGU5YmM1OWJjZjUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.MFIp6YthBKlt0KRC_LznICx8mbYP3oU9-etVIHgBJXE)

Shipping Costs Based on Distance Hyvä Compatibility plugin
==========================================================

[](#shipping-costs-based-on-distance-hyvä-compatibility-plugin)

Calculate the exact shipping costs based on the distance to the delivery address using the Google Maps API.

- [Magento 2.4.+](https://github.com/magento/magento2)
- [Hyvä](https://github.com/hyva-themes)
- [Magmodules Distance Shipping](https://www.magmodules.eu/magento2-shipping-costs-based-on-distance.html)

About the Shipping Costs Based on Distance Plugin
-------------------------------------------------

[](#about-the-shipping-costs-based-on-distance-plugin)

Introducing our Magento 2 extension for automated shipping cost calculation based on distance. Utilizing the Google Maps API, it calculates actual transport route distances, ensuring accurate shipping costs. Easily configurable, set your per kilometer rate and display costs on the checkout page.

Enhance customer convenience with a shipping cost calculator on the product page. Requires an active Google API Key. Ideal for both in-house and external courier deliveries, it provides full control over shipping cost settings. Flexible options allow customization to your preferences, including address entry, distance units, calculation methods, and error handling. Global coverage with country-specific settings available. Experience unmatched flexibility with tailored shipping rates based on distance and order values.

Overall, the Shipping Costs Based on Distance plugin for Magento, with its seamless compatibility with the Magento Hyva theme, provides an excellent solution for integrating the Shipping Costs Based on Distance shipping method into your Magento store.

Installation
------------

[](#installation)

1. Install the module using composer:

```
composer require magmodules/magento2-hyva-distance-based-shipping
```

2. Enable the module:

```
bin/magento module:enable Magmodules_HyvaDistanceBasedShipping
```

3. Upgrade the database:

```
bin/magento setup:upgrade
```

4. Let Hyvä know about the new module:

```
php bin/magento hyva:config:generate
```

5. Generate the CSS files:

```
npm --prefix vendor/hyva-themes/magento2-default-theme/web/tailwind/ run ci
npm --prefix vendor/hyva-themes/magento2-default-theme/web/tailwind/ run build-prod
```

Or from your theme:

```
npm --prefix app/design/frontend///web/tailwind run ci
npm --prefix app/design/frontend///web/tailwind run build-prod
```

Shipping Costs Based on Distance Magento plugin features
--------------------------------------------------------

[](#shipping-costs-based-on-distance-magento-plugin-features)

- Customize your store/warehouse location
- Select distances in kilometers or miles according to your preference
- Personalize your calculation methods
- Blend per kilometer pricing with fixed rates
- Define maximum delivery ranges
- Automated address verification with error alerts for unrecognized addresses

Magento Support
---------------

[](#magento-support)

If you have any questions, please fill out our secure contact form by clicking [here](https://www.magmodules.eu/support-form.html).

Magmodules &amp; Hyva
---------------------

[](#magmodules--hyva)

Magmodules and Hyva have established a strong partnership, working closely together to provide enhanced e-commerce solutions. As an official Hyva partner, we specializes in developing integrations for various platforms and services.

We have created integrations for well-known providers such as Mollie, Sooqr, Paazl, and many more. This collaboration ensures seamless compatibility and optimized performance for online stores utilizing the Hyva theme. Through our partnership, Magmodules and Hyva strive to deliver comprehensive and tailored solutions to meet the diverse needs of e-commerce businesses.

Check out our other Hyva Plugins!
---------------------------------

[](#check-out-our-other-hyva-plugins)

[Magento 2 Hyvä Google Reviews](https://github.com/magmodules/magento2-googlereviews-hyva)

[Magento 2 Hyvä Shopreview](https://github.com/magmodules/magento2-shopreview-hyva)

[Magento 2 Hyvä Product Review Reminder](https://github.com/magmodules/magento2-reviewreminder-hyva)

[Magento 2 Hyvä eKomi Reviews](https://github.com/magmodules/magento2-ekomi-hyva)

[Magento 2 Hyvä FeedbackCompany Reviews](https://github.com/magmodules/magento2-feedbackcompany-hyva)

[Magento 2 Hyvä Mollie](https://github.com/mollie/magento2-hyva-checkout)

[Magento 2 Hyvä Paazl](https://github.com/Paazl/magento2-hyva-react-checkout)

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance30

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 66.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

734d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/34503049?v=4)[Magmodules](/maintainers/Magmodules)[@magmodules](https://github.com/magmodules)

---

Top Contributors

[![Marvin-Magmodules](https://avatars.githubusercontent.com/u/20815641?v=4)](https://github.com/Marvin-Magmodules "Marvin-Magmodules (2 commits)")[![Frank-Magmodules](https://avatars.githubusercontent.com/u/24823946?v=4)](https://github.com/Frank-Magmodules "Frank-Magmodules (1 commits)")

### Embed Badge

![Health badge](/badges/magmodules-magento2-hyva-distance-based-shipping/health.svg)

```
[![Health](https://phpackages.com/badges/magmodules-magento2-hyva-distance-based-shipping/health.svg)](https://phpackages.com/packages/magmodules-magento2-hyva-distance-based-shipping)
```

###  Alternatives

[tig/postnl-magento2

TIG Magento 2 PostNL extension

58544.2k4](/packages/tig-postnl-magento2)[lillik/magento2-price-decimal

Magento 2 Price Decimal Precision

111147.5k](/packages/lillik-magento2-price-decimal)[doofinder/doofinder-magento2

Doofinder module for Magento 2

13204.0k1](/packages/doofinder-doofinder-magento2)[magepal/magento2-form-field-manager

Customer and Address Form Fields Manager for Magento2

293.8k](/packages/magepal-magento2-form-field-manager)[graycore/magento2-graphql-introspection-cache

1015.2k](/packages/graycore-magento2-graphql-introspection-cache)[elgentos/magento2-hyva-checkout-ab-test

Set up an A/B test with different available Hyvä and Luma checkouts

154.2k](/packages/elgentos-magento2-hyva-checkout-ab-test)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
