---
title: 'Shipping Rules'
url: 'https://info.srv.kowal.co/docs/magento/modules/shipping-rules'
markdown: 'https://info.srv.kowal.co/docs/magento/modules/shipping-rules.md'
lang: en
date: '2026-11-30'
description: 'Create a shipping method with rates by destination, weight or subtotal. Add surcharges or delivery restrictions and check why a rate did not match the cart.'
taxonomy:
  category:
    - docs
    - Magento
    - Modules
  tag:
    - shipping
    - checkout
---

# Shipping Rules

**Composer** `kowal/module-shipping-rules` · **Version** 1.0.25

## Product page

[Shipping Rules — kowal.co](https://kowal.co/kowal-shipping-rules-magento-2-extension-for-shipping-methods-delivery-restrictions-and-additional-fees)

## Description

Create shipping methods, match rates to the address and cart, and apply delivery restrictions and additional fees.

## For whom

For stores where delivery price or availability depends on postcode, weight or cart value.

## Features

- Match rates by country, region, postcode, weight, quantity and subtotal.
- Hide a method or return an unavailable-method message.
- Carry additional fees from the cart into the order and sales documents.

## Installation

From the Magento root, with Composer access to the Kowal package, run

```sh
composer require kowal/module-shipping-rules
bin/magento module:enable Kowal_ShippingRules
bin/magento setup:upgrade
bin/magento cache:clean
```

## Configuration

1. Enable the carrier under **Stores → Configuration → Sales → Delivery Methods → Shipping Methods & Rules** and set the title shown at checkout.
2. Under **Sales → Shipping Methods & Rules → Shipping Methods**, create a method and configure a rate for the intended destination and cart range.
3. If you need a restriction or surcharge, define it under **Shipping Restrictions** or **Extra Fees** and enable that feature under **Stores → Configuration → Sales → Shipping Methods & Rules**.

## Requirements / notes

The module requires PHP 8.1 or later. The carrier, restrictions and fees have separate settings. Check each feature your store uses.

## FAQ

**How can I find out why an expected rate does not match?**

Compare the destination, weight and subtotal with the rate conditions. Temporarily enable **Enable Debug Logging** and inspect the decisions in `var/log/kowal_shipping_rules.log`.

## Verify the installation

```sh
bin/magento module:status Kowal_ShippingRules
```

Use two addresses on opposite sides of your configured rule boundary. For the same cart, compare available methods, rates and fees. Place a test order for the eligible address and check the recorded amounts.

---

## Navigation

- Parent: [Magento 2 Extensions](https://info.srv.kowal.co/docs/magento/modules.md)
- Previous: [Search Optimizer](https://info.srv.kowal.co/docs/magento/modules/search-optimizer.md)
- Next: [Review Suite](https://info.srv.kowal.co/docs/magento/modules/review-suite.md)
