---
title: "Deprecation: #848 - Site settings extcode.cart-payments and shippings"
manual: "Cart"
version: "main"
permalink: "https://docs.typo3.org/permalink/extcode/cart:deprecation-848-site-settings-extcode-cart-payments-and-shippings@main"
source: "Changelog/12.4/Deprecation-848-SiteSettingsPaymentsShippings.rst"
rendered: "2026-11-20T20:29:02+00:00"
---

# Deprecation: #848 - Site settings extcode.cart-payments and shippings {#deprecation-848-site-settings-extcode-cart-payments-and-shippings}

See [Issue 848](https://github.com/extcode/cart/issues/848)

## Description {#description}

Site settings of cart use the namespace `extcode.cart` with the keys of the
TypoScript, see [Issue 847](https://github.com/extcode/cart/issues/847).
`extcode.cart-*` is left to extensions of cart, e.g. cart-products.

The site sets `extcode/cart-payments` and `extcode/cart-shippings` provide
the payment and shipping methods as `extcode.cart.payments` and
`extcode.cart.shippings`, matching `plugin.tx_cart.payments` and
`plugin.tx_cart.shippings`. The site sets loaders
`\Extcode\Cart\Configuration\Loader\SiteSets\PaymentMethodsLoader` and
`\Extcode\Cart\Configuration\Loader\SiteSets\ShippingMethodsLoader` read them
from there:

**config/sites/\<site>/settings.yaml**

```yaml
extcode:
  cart:
    payments:
      countries:
        de: &de
          preset: 1
          options:
            1:
              title: 'Prepayment'
              extra: 0.0
              taxClassId: 1
              status: 'open'
        at: *de
```

Use a YAML anchor and aliases to use the configuration of a country for other
countries, the TypoScript copy syntax `at: .de` does not work in YAML.

## Impact {#impact}

If the site has no settings in `extcode.cart.payments` or
`extcode.cart.shippings`, the loaders read `extcode.cart-payments` or
`extcode.cart-shippings` and trigger a deprecation. The settings of both
keys are not merged. The fallback will stop working in cart 13.0.

## Affected Installations {#affected-installations}

All installations which use the site sets loaders for payment or shipping
methods with an own site set or own site settings providing
`extcode.cart-payments` or `extcode.cart-shippings`.

## Migration {#migration}

Move `extcode.cart-payments` to `extcode.cart.payments` and
`extcode.cart-shippings` to `extcode.cart.shippings` in the site set or the
site settings.
