PHPackages                             thelia/custom-shipping-zone-fees-module - 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. thelia/custom-shipping-zone-fees-module

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

thelia/custom-shipping-zone-fees-module
=======================================

0632[1 PRs](https://github.com/thelia-modules/CustomShippingZoneFees/pulls)PHP

Since Oct 11Pushed 3y ago6 watchersCompare

[ Source](https://github.com/thelia-modules/CustomShippingZoneFees)[ Packagist](https://packagist.org/packages/thelia/custom-shipping-zone-fees-module)[ RSS](/packages/thelia-custom-shipping-zone-fees-module/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (2)Used By (0)

Custom Shipping Zones Fees
==========================

[](#custom-shipping-zones-fees)

This module allow you to modify the shipping fee of an order base on the zip code of the address.

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

[](#installation)

### Manually

[](#manually)

- Copy the module into `/local/modules/` directory and be sure that the name of the module is CustomShippingZones.
- Activate it in your thelia administration panel

### Composer

[](#composer)

Add it in your main thelia composer.json file

```
composer require thelia/custom-shipping-zone-fees-module:~0.0.1

```

Usage
-----

[](#usage)

Go to the module configuration to create a custom shipping zone and add the price and the zip codes you want. Then go in the shipping zone of your delivery modules to add your new shipping zone.

The module will add the price of your custom shipping zone to the postage of your delivery module when the zip code of an order address is one of the zip code you specify in your custom shipping zone.

Loop
----

[](#loop)

\[custom\_shipping\_zone\_fees\]

### Input arguments

[](#input-arguments)

ArgumentDescription**id**Ids of the shipping zone you want to get.**module\_id**Module id you want to filter with.**without\_zone**Module id, exclude all the shipping zones attach to this module.**locale**Set local for I18n.### Output arguments

[](#output-arguments)

VariableDescription$IDId of the shipping zone$FEEFee of the shipping zone$NAMEId of the shipping zone$DESCRIPTIONId of the shipping zone$ZIP\_CODESArray of Zip code (object)### Exemple

[](#exemple)

```

            Zip code
            Country

        {loop name='my_loop' type='custom_shipping_zone_fees' locale=$locale  id=$shippingZoneId}
            {foreach $ZIP_CODES as $zipCode}

                    {$zipCode->getZipCode()}
                    {$zipCode->getCountry()->setLocale($locale)->getTitle()}

            {/foreach}
        {/loop}

```

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity30

Early-stage or recently created project

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.

### Community

Maintainers

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

### Embed Badge

![Health badge](/badges/thelia-custom-shipping-zone-fees-module/health.svg)

```
[![Health](https://phpackages.com/badges/thelia-custom-shipping-zone-fees-module/health.svg)](https://phpackages.com/packages/thelia-custom-shipping-zone-fees-module)
```

###  Alternatives

[awcodes/matinee

OEmbed field for Filament Panel and Form Builders.

228.5k1](/packages/awcodes-matinee)

PHPackages © 2026

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