page last edited on 27 September 2018
The addon PDF Invoices allows you to issue invoices in .pdf format and attach such invoices to messages.
To install the addon, follow the instructions from Installing Addons from the Marketplace.
Once the addon has been installed, proceed to the addon settings page to configure it:
The PDF Invoices addon settings are as follows:
- Invoice file name pattern : This field allows to rename the default .pdf invoice filename to any store specific one if required. Use [orderNumber] pattern text to provide the order number position.
- Send the invoice attachment in the mail : If enabled a .pdf invoice file will be attached to every email (to both admin and customer) that contains an order link.
- Clear order email content when the invoice is attached : If enabled, the text of an order confirmation email won’t contain any information about the order. All info about the order will be attached to the email in a .pdf invoice.
Submit the settings to make them active.
Once enabled and configured, the addon adds the button Open PDF invoice to the order confirmation page a customer sees after placing an order and to the order details page that a customer can view in his account in the Orders section:
A store admin also gets such a button on the order details page in the store admin area:
Besides that the store admin can open a .pdf invoice for an order or for several orders at a time using the bulk order editing feature on the order listing page (Orders -> Order list):
For this purpose the admin should choose the order(s) he needs a .pdf invoice for and click the Open PDF invoices button at the bottom of the listing page. Invoices for the chosen orders will be downloaded in .pdf format to the admin’s computer where it will be possible to open and use them further.
Both the store admin and the customer get a .pdf invoice attached to the order confirmation email if the Send the invoice attachment in the mail option is enabled:
In case the Clear order email content when the invoice is attached option is enabled a customer will get a default Order created email notification with a .pdf invoice attached to it (the one you see on the sample above). The text of the default Order created notification you can edit in the Email notifications section (Store setup -> Email notificaitons) as described in Email notifications: Setup and Maintenance.
Help make this document better
This guide, as well as the rest of our docs, are open-source and available on GitHub.