PDF Customizations


Uses the mPDF library which has a few server requirements.

How to customize:

  • Add a custom stylesheet by adding it to your sa_templates directory of your (child theme).
    • More info on template overrides can be found here.
    • The invoice css filename would be: invoice/invoices-pdf.css ; The estimate css filename would be: estimate/estimates-pdf.css
      • An example full path for an invoice css for PDFs would be: wp-content/themes/[your-theme]/sa_template/invoice/invoices-pdf.css
  • Advanced: Remove the CSS file via a filter and add your own within your template, example.
  • Following the template customization documentation you can create your own PDF template with a file name invoice-pdf.php
    • For custom templates you can use customname-pdf.php

Disable PDF Attachments for PDFs:

Still need help? Contact Us Contact Us