This article details adding a PDF invoice with WooCommerce customer order emails and configuring the print button in order emails. Attaching a PDF invoice with the order email is an exciting feature. It allows both the customer and the seller to have a legal record of the sale and the amount owed. The WooCommerce PDF Invoices, Packing Slips, Delivery Notes, and Shipping Labels plugin allows one to attach a PDF invoice depending upon the pre-chosen order status. Selecting multiple order statuses triggers more than one email with a PDF attachment.
Pre-requisite
- Invoice enabled from the General Settings tab.
- Have the company and address information filled out before customizing the invoice.
Steps to attach automated emails with customer order emails
- Navigate to Invoice/Packing > Invoice > General from the WordPress dashboard.
- In the General tab, scroll down to the Automate invoice creation option.
- Select order statuses for automated invoice creation.
- Move to the Attach invoice PDF to selected WooCommerce emails option.
- Select email classes to attach the invoice PDF.
- Ensure that the selected email classes match the order statuses selected under the Automate invoice creation option.
- Click on Update Settings at the end of the page to update the new changes.
For example, if a store owner selects ‘Completed Order’ as the email class for PDF invoice attachment, and this email class matches the order status ‘Completed’, then when an order reaches the Completed status, an email with the PDF invoice attachment will be sent to the customer. The image below shows a sample email with the attached PDF invoice.
Configuring print button access for users
The default settings permit only logged-in users to print invoices from their order email. Store owners can configure the print button access, by following the below steps:
- Navigate to Invoice/Packing > General Settings > General from the WordPress dashboard.
- Under the Advanced options section, head to the Print button access for option.
- Select the preferred user type,
- Logged in users – Allows only logged-in users to print invoice using the print button in order emails.
- All users – Allows all users, including those who are not logged in, to print the invoice using the print button.
- Click on Update Settings to save changes.
Use Case
- Store owner allows only ‘Logged-in users’ to access the print button in order emails.. A guest user makes a purchase. The user will receive an order email with a Print Invoice button in it. When the user tries to print the invoice, they will be redirected to the ‘My Account’ page, where they can register as a new user. Once they have completed the registration, users can log in to their account and print the invoice from the order email.
- The store owner grants the print button access to ‘All users’. A guest user makes a purchase. The user will receive an order email with a ‘Print Invoice’ button in it. The user can print the invoice document using the ‘Print Invoice’ button.
Comments (12)
Frank
April 3, 2025
how to add another email address in cc?
Sanjai Valsan
April 7, 2025
Hi Frank,
Thank you for reaching out.
Our plugin specifically focuses on attaching a PDF copy of the invoice to the WooCommerce order emails—it doesn’t handle email recipient settings directly.
However, WooCommerce itself does allow you to configure email recipients for certain order statuses. You can check this by going to WooCommerce > Settings > Emails, then selecting the email type (like New Order or Cancelled Order) to edit its settings. From there, you can add additional email addresses in the Recipient(s) field using commas to separate multiple addresses.
Abhishu
June 17, 2024
Hello I have tried all these settings but pdf are not attached in emails
Sanjai Valsan
June 18, 2024
Hi Abhishu,
Thank you for reaching out!
It looks like you need some technical assistance to resolve this issue. Kindly contact our customer support team for further assistance.
Bea
June 10, 2024
Hello,
Does this also work with WPML? I have already purchased the webtoffee invoices plugin. This seems a perfect add-on.
I have installed it, but cannot find how to translate the e-mail texts.
Sanjai Valsan
June 11, 2024
Hi Bea,
Thank you for reaching out!
Yes, the WebToffee’s WooCommerce PDF Invoices, Packing Slips, and Credit Notes plugin is compatible with WPML. For detailed instructions on how to translate strings using the WPML plugin, please refer to this article.
Gary
August 30, 2023
How can i change “Print Invoice” to “Print Quotation” in my account > order page?
Hema
September 7, 2023
Hello Gary
Thanks for reaching out. Presently the plugin doesn’t offer any options to do so. However, you can use the code snippet mentioned in this article to achieve it.
Bruno
April 30, 2023
Is there any possibility to send the invoice manually? For example, connected to “Customer invoice / Order details”.
Hema
May 9, 2023
Hello Bruno,
Thanks for reaching out. Yes, Invoices can be sent manually from the orders edit page. From the orders action section, choose the action as Email invoice / order details to customer and click on Update.
张林
January 3, 2023
I enabled the feature of “Attach invoice PDF for selected order statuses” followed the instructions, but I didn’t found PDF invoice in the order complete mail except a link of “print invoice”.
Are there any prerequisites or limitations for this feature?
I use mailpoet (https://www.mailpoet.com/) to delivery emails.
Mike
January 4, 2023
Hi there,
According to our understanding, the MailPoet plugin doesn’t allow attaching documents along with their emails. It’s already stated on their plugin page.
If you switch the “Switch all site’s email with” option located on the Advanced tab of the MailPoet plugin settings to “The default WordPress sending method”, the attachments will work fine.