---
title: "FAQ"
manual: "Cart"
version: "12.1"
permalink: "https://docs.typo3.org/permalink/extcode/cart:faq@12.1"
source: "Faq/Index.rst"
rendered: "2026-11-14T23:50:30+00:00"
---

# FAQ {#faq}

## How can I unset the predefined payment / shipping methods? {#how-can-i-unset-the-predefined-payment-shipping-methods}

The following example unsets the default countries and payment methods and
add options for 2 other countries instead.

**EXT:sitepackage/Configuration/TypoScript/setup.typoscript**

```typoscript
plugin.tx_cart {
    settings {
        countries >
        countries {
            preset = 1
            options {
                4 {
                    code = fr
                    label = France
                }
                5 {
                    code = nl
                    label = Netherlands
                }
            }
        }
    }

    # equivalent done for shippings
    payments {
        countries {
            de >
            at >
            ch >
            fr {
                preset = 1
                options {
                    ..
                }
            }
            nl < fr
        }
    }
}
```

## How can I add a field "Addition" for the addresses? {#how-can-i-add-a-field-addition-for-the-addresses}

As shown in [Validating and hiding fields](https://docs.typo3.org/permalink/extcode/cart:validating-and-hiding-fields@12.1) the field exists but is not
shown because the validation is set to `NotEmpty`.

The following configuration shows the "addition" field for the shipping address:

```typoscript
caption: EXT:sitepackage/Configuration/TypoScript/setup.typoscript

plugin.tx_cart.settings.validation.shippingAddress.fields {
    addition >
}
```

## How can overwrite a translation? {#how-can-overwrite-a-translation}

You can write your own XLIFF file where you are using the key of the translation
that you want to overwrite. Your XLIFF file needs to be registered in a
`ext_localconf.php`, e.g. in your sitepackage.

The following example is for overwriting German translations:

**EXT:sitepackage/ext_localconf.php**

```php
$GLOBALS['TYPO3_CONF_VARS']['SYS']['locallangXMLOverride']
   ['de']['EXT:cart/Resources/Private/Language/locallang.xlf'][] =
      'EXT:sitepackage/Resources/Private/Language/Cart/de.locallang.xlf';
```
