HomeMagento® 2 Product Page PDFUser ManualCustomizing PDF Templates

Customizing PDF Templates

If you’re looking to customize the Product PDF even more, it’s quite straightforward to edit the included .phtml templates by following the steps below.


Default template locations

You can find the original PDF .phtml templates in one of the following directories:

For composer based installations:


For manual installations:



Copy template to your theme directory

To modify a template, it’s recommended to copy it to your custom theme directory. That way it won’t be overwritten when you update our extension.

If you’d for example like to modify the attributes table (additional information section), you can copy the following file:


To the following directory:


Or if you’d for example like to modify the footer, you can copy the following file:


To the following directory:


Edit the template

Now you can edit the template and for example add the product SKU in this section with the following code snippet:

<?php echo $this->getProduct()->getSku(); ?>

Or you could add an image using the following HTML code:

<img src="https://yourdomain.com/media/image.png">
Was this article helpful to you? Yes No