How do I modify the quotation PDFs?

To add, change or remove elements in the quote PDF body, the module’s supplied template is:

modules/opartdevis/views/templates/front/pdf/quotation.tpl

To customize it in the active theme, copy it to:

themes/YOUR_THEME/modules/opartdevis/views/templates/front/pdf/quotation.tpl

The module loads this copy first if it exists. The footer uses footer.tpl and product lines use shopping-cart-product-line.tpl in the same PDF folder.

Warning: visual changes require HTML and CSS knowledge. Adding extra data requires PHP knowledge and familiarity with PrestaShop code.

Make your changes on a test shop first and check the generated PDF. After a module update, compare your customized templates with the new supplied templates so that you retain new information and fixes.

Other FAQs in this category