Attach PDF invoice to custom order status email
-
Hello I am after some help please.
I am looking for a code snippet in order to attach the PDF invoices to an automated email for a custom order status I have created. I have setup a custom order status (called ‘invoice due’) that triggers an email (called ‘overdue payment’), however the pdf does not attach. The snippet could be made to attach the pdf invoice to all status emails if that is easier. The PDF invoice currently attaches to the order completed email, however the custom status email uses a different template (woocommerce-order-status-manager/templates/emails/customer-order-status-email.php) which doesn’t automatically attach the pdf file. Any ideas?TIA
Andy
- The topic ‘Attach PDF invoice to custom order status email’ is closed to new replies.