---
title: "Main Configuration"
manual: "Cart Pdf"
version: "8.0"
permalink: "https://docs.typo3.org/permalink/extcode/cart-pdf:main-configuration@8.0"
source: "Administrator/Configuration/Main/Index.rst"
rendered: "2026-11-13T10:29:21+00:00"
---

# Main Configuration {#main-configuration}

## Preparation: Include static TypoScript {#preparation-include-static-typoscript}

The extension comes with several TypoScript configuration files. One for general configuration an one for each type of PDF.

## Preparation: Folder for PDF files {#preparation-folder-for-pdf-files}

Furthermore, the folders must be created in which the PDF files are to be stored. The standard
TypoScript configuration sees folder *tx_cart/order_pdf*, *tx_cart/invoice_pdf* and *tx_cart/delivery_pdf*
in the fileadmin directory. If another folder should be used, the values are available for each PDF data type
storageRepository and storageFolder ready.

> [!WARNING]
> These folders should be protected by appropriate measures against direct access from the Internet.

> [!NOTE]
> Please note that the configuration has to be done for both plugin.tx_cart and module.tx_cart,
> because the backend module uses the backend module configurations instead of the frontend at this point
> Plugin configurations.
> The change of the constants adapts to both configurations.
