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

# Base {#base}

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

```typoscript
plugin.tx_cart {
    settings {
        cart {
            pid =
            isNetCart =
        }
        order {
            pid =
        }

        itemsPerPage =
    }
}
```

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

-   **cart.pid**

    -   *Required:* true
    -   *Type:* string

    This is needed to put products in the right shopping cart.

    If settings.addToCartByAjax isn't set, the add to cart action will forwards
    the user to this page.

-   **cart.isNetCart**

    -   *Required:* false
    -   *Type:* boolean
    -   *Default:* false

    Defines whether the shopping cart should be treated as a net shopping cart.

    If the shopping cart is a net shopping cart, the price calculations
    are all carried out and displayed on the net prices of the products,
    otherwise the calculations are made with the gross prices.

-   **order.pid**

    -   *Required:* true
    -   *Type:* string

    Specifies the folder in which the orders should be stored.

-   **itemsPerPage**

    -   *Required:* false
    -   *Type:* int
    -   *Default:* 20 (if there is no TypoScript configuration)

    Defines how many records should be displayed per page in the list action.

    Also valid: `module.tx_cart.settings.itemsPerPage`.
