page last edited on 27 September 2018
The PDF Invoices module allows to issue invoices in .pdf format and attach such invoices to messages.
To install the module follow the giudes from Installing addons from the Marketplace.
When installed proceed to the module settings page to configure it:
The “PDF Invoices module” 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 e-mail (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 e-mail won’t contain any information about the order. All info about the order will be attached to the e-mail in a .pdf invoice.
Submit the settings to make them active.
When enabled and configured the module adds an Open PDF invoice button 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 e-mail 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 e-mail 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.