# Delivery method display

Show the carriers your customers ship with using kustom-delivery-method-display. Needs the Kustom Shipping Assistant. Filter with include and exclude.

The delivery method display shows the carriers you ship with. The list comes from your
recent shipping sessions, so it holds only carriers your customers have actually selected.
It needs the [installation script and a registered domain](/checkout/surfaces/elements/).

**Requires the Kustom Shipping Assistant.** Delivery method display needs the
[Shipping Assistant](/checkout/shipping/#shipping-assistant) configured on your Merchant ID.

In Playground the list isn't real. It shows a short static list of carriers, so you can
test without shipping sessions.

```html
<kustom-delivery-method-display locale="en-SE"></kustom-delivery-method-display>
```

## Attributes

| Attribute | Required | What it does |
|---|---|---|
| `locale` | Yes | The market to show carriers for. Use five characters, `language-COUNTRY`: the language sets the text and the country sets the market. See the [supported locales](/checkout/surfaces/elements-catalogue/#locale) |
| `include` | No | Comma-separated [carrier identifiers](/checkout/surfaces/supported-methods/#delivery-carrier-identifiers) to add even if the API doesn't return them for your account. Identifiers already in the list are ignored |
| `exclude` | No | Comma-separated [carrier identifiers](/checkout/surfaces/supported-methods/#delivery-carrier-identifiers) to hide |
| `align` | No | `start` (the default) or `center` |

`exclude` is applied before `include`, so an identifier in both is hidden.

## Filtering examples

Hide carriers the API returned for your account:

```html
<kustom-delivery-method-display
  locale="en-SE"
  exclude="postnord,dhl"
></kustom-delivery-method-display>
```

Add carriers that aren't enabled on your account yet, to preview them in Playground:

```html
<kustom-delivery-method-display
  locale="en-SE"
  include="budbee,instabox"
></kustom-delivery-method-display>
```

## Related

- [Element catalogue](/checkout/surfaces/elements-catalogue/) — every element, and the locale and filtering rules they share
- [Element method identifiers](/checkout/surfaces/supported-methods/) — the values `include` and `exclude` accept
- [Shipping Assistant](/checkout/shipping/#shipping-assistant) — required for this element
- [Install Kustom Elements](/checkout/surfaces/elements/) — the script and domain registration this depends on
