Home Devert | PDF Export: Shopping cart, listing, product page, wishlist (DevertPdfExport) Documentation Shopware Store ↗ Deutsch

Header & footer

Logo, three text columns at the top and a footer at the bottom appear on every page of all PDFs.

PDF with logo and three columns in the header and a footer
Configuration card “PDF Header Media”
Configuration card “PDF Header”

The three fields are the columns to the right of the logo. They contain example data that you should replace. HTML such as <br /> for line breaks and Twig can be used.

Column 1

Default: <![CDATA[Adresse:<br /> Musterstr. 1<br /> 38123 Musterstadt<br /> Musterland]]> Configuration card: PDF Header

For example your address.

Column 2

Default: <![CDATA[Kontakt:<br /> Telefon: +49 123 456 78<br /> Fax: +49 123 456 79<br /> E-Mail: demo@shop.de]]> Configuration card: PDF Header

For example phone and e-mail.

Column 3

Default: <![CDATA[Rechtliches:<br /> Amtsgericht Musterstadt<br /> USt-ID-Nr.:<br /> DE 123 456 789]]> Configuration card: PDF Header

For example legal information.

Footer

Configuration card “PDF Footer”

Footer of offers

Default: <![CDATA[Erstellt am {{ "now"|date("d.m.Y") }}.<br />Dieses Angebot ist gültig bis {{ offer.validUntil|date("d.m.Y") }}.]]> Configuration card: PDF Footer

Replaces the normal footer in offers, because the normal one says that the document is no offer. Empty means the normal footer. {{ offer.validUntil|date("d.m.Y") }} prints the end of the validity.

Both footers and the header can be translated per language.