How to create custom templates of invoices?
This is a guide for advanced users.
Check how to customize invoice templates by using Advanced Templates for Flexible Invoices add-on.
Custom invoice template in the theme's folder (PRO)
If you want to edit the invoice template generated to a PDF file, follow these steps:
- Copy the whole folder
wp-content/plugins/flexible-invoices-woocommerce/vendor_prefixed/wpdesk/flexible-invoices-core/templates/documents
- Paste the folder to
wp-content/themes/YOUR-THEME/flexible-invoices/
directory (you will need to create this folder). - From now on, the files in the theme directory will overwrite the original files from the plugin directory. Modify the file according to your needs, e.g. changing the texts, adding or deleting certain pieces of information.
- If you want to undo the changes, simply delete the folder from the theme directory. The file from the plugin directory will be in use again and all the modifications will be undone.