PDF Generation
Generate PDF output from stored templates and rendered HTML. The current implementation renders Twig-based PDF layouts and converts them to PDF through PDFCrowd, with built-in preview and download flows in the PDF template admin and product PDF download support in the product module.
Document Engine
PDF generation is implemented as a template-plus-rendering pipeline. The render service turns a saved PDF template into HTML using Twig, and the generation service sends that HTML through PDFCrowd to produce the final PDF bytes.
The PDF template admin already supports inline HTML preview and direct PDF download using a mock or real product, which makes template iteration practical before the output is used in a live product workflow.
On the product side, the product controller can download a product PDF using the product’s assigned template, or fall back to the default product template if one is available.
Need product data turned into downloadable PDFs?
Use the built-in render and generation pipeline to preview, download, and attach PDF output to real product templates.