# Set up PDFs

Recipe PDFs can be downloaded directly without extensive configuration like invoices or delivery bills. Nevertheless, you can set some additional settings to customize & optimize the downloads.

## Change & translate texts <a href="#change-translate-texts" id="change-translate-texts"></a>

You have the possibility to edit the texts in the admin under `Settings > Shop > Snippets > BASE en-GB > Button "..." > Edit` according to your wishes. The texts access the translatable snippets normally.

To simplify the search for the right snippets, you should set the `Other filters` filter to `shopStudioRecipes`. The correct snippets start with `shopStudioRecipes.document.pdfDownload`.

![](https://1923190518-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MhDVIwCi_IMhrBtbXDD%2F-MhSh5yJ0ur38HvpMDIw%2F-MhShFPwbcxjR1tqH_WX%2Fimage.png?alt=media\&token=f9a2bffe-2afd-45ac-a795-cc221a53876d)

## Settings <a href="#settings" id="settings"></a>

To access the settings you have to navigate in the admin to `Settings > System > Plugins > Recipes > Button "..." > Configuration`.

![](https://1923190518-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MhDVIwCi_IMhrBtbXDD%2F-MhSh5yJ0ur38HvpMDIw%2F-MhShKHbmXYmevXlBZPq%2Fimage.png?alt=media\&token=8d7d4ff3-94da-428e-9f95-35f28afd99aa)

### PDF Provider <a href="#pdf-provider" id="pdf-provider"></a>

To access the settings you have to navigate in the admin to `Settings > System > Plugins > Recipes > Button "..." > Configuration`.

#### Dompdf <a href="#dompdf" id="dompdf"></a>

This provider comes standard with Shopware and does not require any additional configuration. The advantage is that the creation of PDFs does not cost money. However, as a disadvantage, the customization of PDFs on a technical level is difficult to do and in many cases even impossible (e.g. 2 column layout across multiple pages).

#### Pdfcrowd <a href="#pdfcrowd" id="pdfcrowd"></a>

This provider is an external service ([https://pdfcrowd.com/ (opens new window)](https://pdfcrowd.com/)) which also enables the rendering of PDFs possible. The advantage is that the PDFs can be adapted without any problems and the limitations of Dompdf do not exist. exist. However, the disadvantage is that the external service costs some money per month.

If you have decided to use Pdfcrowd, then you still need to enter your `Username` & `API key`.

### PDF Caching <a href="#pdf-caching" id="pdf-caching"></a>

Caching already rendered PDFs can be useful to optimize the download speed. In the case of the provider Pdfcrowd, it can also save money, since Pdfcrowd otherwise charges per downloaded PDF.

{% hint style="info" %}
**Tip**

The PDF cache is automatically cleared each time a recipe is edited.
{% endhint %}

<br>
