---
title: "Consent Checkboxes"
manual: "Cart"
version: "12.1"
permalink: "https://docs.typo3.org/permalink/extcode/cart:consent-checkboxes@12.1"
source: "Administrator/Configuration/Cart/ConsentCheckboxes/Index.rst"
rendered: "2026-11-14T23:50:30+00:00"
---

# Consent Checkboxes {#consent-checkboxes}

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

```typoscript
plugin.tx_cart {
    settings {
        cart {
            acceptTermsAndConditions.pid = {$plugin.tx_cart.settings.cart.acceptTermsAndConditions.pid}
            acceptRevocationInstruction.pid = {$plugin.tx_cart.settings.cart.acceptRevocationInstruction.pid}
            acceptPrivacyPolicy.pid = {$plugin.tx_cart.settings.cart.acceptPrivacyPolicy.pid}
        }

        validation {
            orderItem {
                fields {
                    acceptTermsAndConditions.validator = Boolean
                    acceptTermsAndConditions.options.is = true
                    acceptRevocationInstruction.validator = Boolean
                    acceptRevocationInstruction.options.is = true
                    acceptPrivacyPolicy.validator = Boolean
                    acceptPrivacyPolicy.options.is = true
                }
            }
        }
    }
}
```

## plugin.tx_cart.settings.cart {#plugin-tx-cart-settings-cart}

-   **acceptTermsAndConditions.pid**

    -   *Type:* int
    -   *Default:* empty

    If a page id is given the translation key *tx_cart_domain_model_order_item.accept_terms_and_conditions_with_link*
    will show a checkbox label with a link to the given page.
    If the value is empty the
    *tx_cart_domain_model_order_item.accept_terms_and_conditions_and_conditions*
    translation key will be used in frontend.

-   **acceptRevocationInstruction.pid**

    -   *Type:* int
    -   *Default:* empty

    If a page id is given the translation key *tx_cart_domain_model_order_item.accept_revocation_instruction_with_link*
    will show a checkbox label with a link to the given page.
    If the value is empty the
    *tx_cart_domain_model_order_item.accept_revocation_instruction*
    translation key will be used in frontend.

-   **acceptPrivacyPolicy.pid**

    -   *Type:* int
    -   *Default:* empty

    If a page id is given the translation key *tx_cart_domain_model_order_item.accept_privacy_policy_with_link*
    will show a checkbox label with a link to the given page.
    If the value is empty the
    *tx_cart_domain_model_order_item.accept_privacy_policy*
    translation key will be used in frontend.

## plugin.tx_cart.settings.validation.orderItem.fields {#plugin-tx-cart-settings-validation-orderitem-fields}

-   **acceptTermsAndConditions.validator**

    -   *Type:* string
    -   *Default:* Boolean

    Add a checkbox for accepting the terms and conditions.
    To not render this checkbox at all you need to set

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

    ```typoscript
    plugin.tx_cart.settings.validation.orderItem.fields.acceptTermsAndConditions >
    ```

-   **acceptTermsAndConditions.options.is**

    -   *Type:* string
    -   *Default:* true

    Defines which value is expected for terms and conditions checkbox.

    This setting will be ignored if the checkbox is not rendered at all.

-   **acceptRevocationInstruction.validator**

    -   *Type:* string
    -   *Default:* Boolean

    Add a checkbox for accepting the revocation instruction.
    To not render this checkbox at all you need to set

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

    ```typoscript
    plugin.tx_cart.settings.validation.orderItem.fields.acceptRevocationInstruction >
    ```

-   **acceptRevocationInstruction.options.is**

    -   *Type:* string
    -   *Default:* true

    Defines which value is expected for revocation instruction checkbox.

    This setting will be ignored if the checkbox is not rendered at all.

-   **acceptPrivacyPolicy.validator**

    -   *Type:* string
    -   *Default:* Boolean

    Add a checkbox for accepting the privacy policy.
    To not render this checkbox at all you need to set

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

    ```typoscript
    plugin.tx_cart.settings.validation.orderItem.fields.acceptPrivacyPolicy >
    ```

-   **acceptPrivacyPolicy.options.is**

    -   *Type:* string
    -   *Default:* true

    Defines which value is expected for privacy policy checkbox.

    This setting will be ignored if the checkbox is not rendered at all.
