Note for customers using custom quote PDFs in versions before 2.6: ConfigBox 3 uses a single template for both quote PDF download and quote email attachment. It is no longer necessary to override each.

You can override the output of quotation PDFs in the same way as other templates (see Custom Templates and Custom CSS for reference). However, PDF generation imposes limitations on how you write your HTML and CSS. Here we put our best tips for smooth development.

Location of the original template:
{AppDir}/views/quotation/tmpl/default.php

Location of the custom template:
{CustomizationDir}/templates/quotation/default.php

The template uses output of other views

The template uses the output of other views (namely ‘record’ and ‘positions’). If you need to override the templates of these views for the quotation PDF, mind that these views are used elsewhere (admin order page, user order page, checkout page and possibly more in the future). Alternatively, invent a system that gives you different HTML for the PDF and website.