> ## Documentation Index
> Fetch the complete documentation index at: https://docs.marzipan.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Shipping

> Set up shipping methods, rates, delivery zones and postcode lists.

Shipping methods control how much your customers pay for delivery and where each option is available.

Navigate to **Settings > Shipping Methods** to manage your methods.

![Shipping methods list](https://marzipan-cloud.b-cdn.net/0/docs/settings/shipping-methods.png)

## Shipping methods

Each shipping method has the following core options.

* **Name** - The name customers see at checkout, such as `Standard Delivery`
* **Description** - Optional detail about the method
* **Enabled** - Whether the method is available at checkout
* **Method** - The type of method, which determines how the rate is calculated

The **Method** type can be one of:

* **Flat rate** - A fixed **Amount** for every order
* **Free shipping** - No charge
* **Pickup** - Collection in person, with no delivery charge
* **Custom rate** - A rate calculated from bands (see below)

### Custom rate bands

A **Custom rate** method works out the charge from **Bands**. First choose a **Custom rate type**:

* **Weight based** - Bands are based on the order's total weight, in kg
* **Volume based** - Bands are based on the number of items

Then add rows of **From** / **To** / **Amount**. Leave the last row's **To** empty (it reads **Unlimited**) to cover everything above the previous band.

## Countries and zones

Under **Countries & Zones**, select the countries a method applies to, and optionally restrict each one to specific **zones** or to your own list of postcodes. If you don't select any countries, the method applies to all countries.

Marzipan includes the following built-in zones, matched from the customer's postcode:

| Country | Zones |
| - | - |
| **UK** | UK Mainland, Scottish Highlands & Islands, Northern Ireland, Isle of Man, Channel Islands |
| **South Africa** | Major Cities, Remote Areas |

### Custom postcodes

To offer a method only to certain postcodes, such as local delivery, tick **Custom postcodes** under the country and list the postcodes it covers, one per line:

* **Wildcards** - use `*` for the rest of the postcode. `RH12 *` covers the whole RH12 district, and `RH13 0*` covers only the RH13 0 sector.
* **Exact postcodes** - such as `RH12 1AB`
* **Numeric ranges** - such as `90210...99000`, for countries with numeric postcodes

UK postcodes keep the space before the last three characters, so `RH1 *` covers RH1 only and not RH13. A pattern typed without a space, such as `RH130*`, is compared with the spaces taken out.

The list is tidied when you save, and anything that isn't a valid pattern is refused by name. On the shipping methods list, a method with a list shows a badge such as **3 postcodes**; hover over it to see them.

> [!NOTE]
>
> On one country, zones and postcodes are either/or: an address matching any ticked zone or any listed postcode can use the method. Ticking **Custom postcodes** with nothing listed is refused rather than covering the whole country.

Like a zone, a postcode list counts as a more specific match than the whole country, so when an address matches a method limited to its zone or postcode, whole-country delivery methods are hidden for it. Pickup methods are always still offered.

## Fulfil from

With location-based [inventory](https://docs.marzipan.co/settings/inventory.md) on, **Fulfil from** sets the location that stock for orders using this method is checked against and taken from. This is how a collection point takes its stock from the shop it's collected at. Leave it on **Use inventory rules** to use your inventory rules, the market's location, or your default location.

## Conditions

You can gate when a method is offered.

* **Minimum order value** - Require a minimum order value for the method to be available. This is measured on the **goods total after discounts**: the subtotal minus any discount, with no shipping and no tax.
* **Cart conditions** - Restrict a method to carts that:
  * **Must only contain item/s in one of following collections**, or
  * **Must only contain items of the following types** - **Subscription**, **Subscription Renewal**, **Physical** or **Bundle**

> [!NOTE]
>
> A discount counts against the minimum, so what the customer pays for the goods is what earns free shipping. The shipping charge itself is never counted, which would otherwise let the rate being charged close the gap towards removing it.

> [!NOTE]
>
> The currency for a method's amounts is resolved from the destination country's [market](https://docs.marzipan.co/settings/markets.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.