thelia / pdf-default-template
Default PDF template for Thelia
Package info
github.com/thelia-templates/pdf
Type:thelia-pdf-template
pkg:composer/thelia/pdf-default-template
Requires
- thelia/installer: ~1.1
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
- dev-main
- 2.6.x-dev
- 2.6.2
- 2.6.1
- 2.6.0
- 2.5.5
- 2.5.4
- 2.5.3
- 2.5.2
- 2.5.1
- 2.5.0
- 2.5.0-alpha2
- 2.5.0-alpha1
- 2.4.x-dev
- 2.4.5
- 2.4.4
- 2.4.3
- 2.4.2
- 2.4.1
- 2.4.0
- 2.4.0-alpha1
- 2.3.x-dev
- 2.3.6
- 2.3.5
- 2.3.4
- 2.3.3
- 2.3.2
- 2.3.1
- 2.3.0
- 2.3.0-beta2
- 2.3.0-beta1
- 2.3.0-alpha2
- 2.3.0-alpha1
- 2.2.x-dev
- 2.2.6
- 2.2.5
- 2.2.4
- 2.2.3
- 2.2.2
- 2.2.1
- 2.2.0
- 2.2.0-beta3
- 2.2.0-beta2
- 2.2.0-beta1
- 2.2.0-alpha2
- 2.2.0-alpha1
- 2.1.x-dev
- 2.1.11
- 2.1.10
- 2.1.9
- 2.1.8
- 2.1.7
- 2.1.6
- 2.1.5
- 2.1.4
- 2.1.3
- 2.1.2
- 2.1.1
- 2.1.0
- 2.1.0-beta2
- 2.0.12
- 2.0.2
- 2.0.0-beta1
- 1.0.0
- 1.0.0-beta6
- 1.0.0-beta5
- 1.0.0-beta4
- 1.0.0-beta3
- 1.0.0-beta2
- 1.0.0-beta1
- dev-feat/430-return-document
- dev-fix/document-language
- dev-api-maintenance
- dev-thelia2
- dev-api
- dev-master
This package is auto-updated.
Last update: 2026-09-11 16:07:31 UTC
README
The default PDF template of Thelia 3, rendered with Twig and converted to PDF by dompdf.
It contains two documents:
invoice.html.twig— customer invoicedelivery.html.twig— delivery note
Both are self-contained HTML with an embedded stylesheet: dompdf supports only
a subset of CSS, so keep the styling simple.
Translations live in translations/, under the pdf domain.
Layout
Both documents are laid out to keep the printed page count down:
- the full store imprint (address, country, business id, phone, email) is printed
once, next to the document information on the first page. It is what the
invoice.imprinthook replaces when a module provides one; - the running footer repeated on every page is condensed to a single line (store name, city, business id) plus the page number;
- each order line uses a two-line cell: the product title, then a smaller line carrying the references and the combination. The sale element reference is printed only when it differs from the product reference.
Customization
Do not edit this template in place: an update will overwrite your changes.
Copy it to templates/pdf/<your-template> and select it in the back office,
or override only the files you need to change.
Documentation
License
GPL-3.0-or-later