PDF

Custom PDF Templates

Design PDF layouts with a block-based builder. Templates support target types, pages, rows, columns, configurable blocks, duplication, default-template selection, preview, and download from the admin interface.

Template Designer

New Template
Edit Layout

Modern Invoice

Orders

Edit Layout

Minimal Catalog

Marketing

Import HTML Template

The PDF template builder is a real admin tool backed by persistent entities for templates, pages, rows, and columns. Saving a template rewrites its page layout from structured JSON, which lets the builder control the full document structure rather than only a few text fields.

Templates are created against explicit target types. The builder UI already exposes `product`, `order`, `invoice`, and `product_catalog` targets, and the admin supports create, edit, duplicate, delete, set-default, preview, and download actions.

Block definitions are loaded from YAML, filtered by target type, validated against expected config fields, and rendered through Twig block templates, so the document system is already extensible instead of being a single hard-coded PDF layout.

Need branded PDF layouts built from reusable blocks?

Use the PDF template builder for page layouts, block configuration, target-specific templates, duplication, preview, and default-template management.