---
title: "Configuration"
manual: "Cart Book"
version: "main"
permalink: "https://docs.typo3.org/permalink/extcode/cart_books:configuration@main"
source: "Administrator/Configuration/Index.rst"
rendered: "2026-11-20T22:11:01+00:00"
---

# Configuration {#configuration}

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

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

        order {
            pid = {$plugin.tx_cart.settings.order.pid}
        }

        format.currency < plugin.tx_cart.settings.format.currency

        addToCartByAjax = {$plugin.tx_cart.settings.addToCartByAjax}
    }
}
```

-   **Property**

    plugin.tx_cartbooks.settings.format.currency

-   **Data type**

    array

-   **Description**

    Configures how prices should be formatted in frontend. The ExtcodeCartViewHelpersFormatCurrencyViewHelper use
    this global setting.

-   **Default**

    The TypoScript template copy the setting from settings of the cart extension.

-   **Property**

    plugin.tx_cartbooks.settings.addToCartByAjax

-   **Data type**

    int

-   **Description**

    Activates the option to add books via AJAX action. There is no forwarding to the shopping cart page.
    The response can used to display messages or update the MiniCart-Plugin.

-   **Default**

    The TypoScript template use the setting defined by the constant of the cart extension.
