How To Attach PDF to Email When Submitting Order in Woocommerce

WooCommerce
September 03, 2024 22:30:51
tripros
Topics: 1
Messages: 2
Created a packing slip template in E2PDF that we'd like to be emailed to customers who submit orders in Woocommerce and to be attached to the order confirmation/thank you email sent by woocommerce. Can't seem to find any details here to do that with E2PDF. Can anyone advise? Thanks much!
September 03, 2024 22:33:08
tripros
Topics: 1
Messages: 2
Noticed that in E2PDF settings, there is an area for Checkout but the template we created is not available in the drop down, although it is available in every other option.
September 04, 2024 02:49:06
E2Pdf
Topics: 7
Messages: 3617
Support
Hello,

In the "E2Pdf" -> "Settings" -> "WooCommerce":

My Orders Actions, Order Details, Admin Order List Actions, Admin Order Details - can accept just E2Pdf Templates that are "Activated" and are connected to "WooCommerce" -> "Orders".

Cart, Checkout - can accept just E2Pdf Templates that are "Activated" and are connected to "WooCommerce" -> "Cart".

That functionality is designed to output the PDF download links in the selected sections.

--------------------

If you E2Pdf Template is connected to "WooCommerce" -> "Products" / "Variations" - it's possible to use [e2pdf-download id="1"] shortcode as the product File URL

--------------------

If you need to attach the PDF file as an attachment, it should use the [e2pdf-attachment id="1"] shortcode in the required WooCommerce mail body. Depending on the connection, there are a plenty number of options that can be configured to send PDFs:

Documentation with the available options can be found here: https://e2pdf.com/docs/extensions/woocommerce#e2pdf-attachment

Documentation for E2Pdf Template is connected to "WooCommerce" -> "Orders": https://e2pdf.com/docs/extensions/woocommerce#e2pdf-attachment-orders

Documentation for E2Pdf Template is connected to "WooCommerce" -> "Products / Variations": https://e2pdf.com/docs/extensions/woocommerce#e2pdf-attachment-products

* [e2pdf-download id="1"] / [e2pdf-attachment id="1"] - 1 is the ID of your E2Pdf Template.

If you still fail with setup, let us know please what is your E2Pdf Template connection and some screenshots of the shortcodes usage. You can mark the message as "private" so only support can see your message.

We would really appreciate your feedback at WordPress.org!
Get News and Updates
Our monthly newsletter keeps you in the loop, so you'll always be up to date with the latest news and updates about E2Pdf.
* You can update your email subscription preferences here.
All trademarks, service marks, trade names, product names, and logos appearing on this website are the property of their respective owners. The use of trademarks such as Formidable Forms®, Forminator Forms®, Gravity Forms®, JetFormBuilder®, WordPress®, WooCommerce®, WPForms® and others is solely for identification purposes (nominative use) and does not imply any affiliation, sponsorship, or endorsement by the respective trademark holders.
© 2017 - 2026, https://e2pdf.com

We use cookies to collect and analyse information on site performance and usage, to provide social media features and to enhance and customise content and advertisements. By clicking "Accept Selected", you consent to use of selected cookies according to our Cookie Policy.