Email attachments and delivery behavior
Commerce Assistant Free can attach one Basic PDF order confirmation to a selected eligible WooCommerce customer email. It does not build a second mail transport or send a special email immediately after you save the wizard.
Choose the intended email
- Open Leanmerce → Commerce Assistant → Setup.
- Review Step 5 — Payment and delivery to confirm your WooCommerce email and delivery context.
- In Step 6 — Documents, enable Basic PDF and choose the customer order email for the attachment.
- Save the step, then test a suitable synthetic WooCommerce order in an authorized non-production environment or controlled mail setup.
Supported built-in customer order emails in the current Free code are Processing order, Completed order, and On-hold order. They must be enabled in WooCommerce for the configured trigger. Other custom WooCommerce emails are not automatically supported: an integration must explicitly opt in and attest that its email is customer-facing and order-document compatible.
What triggers the attachment
The Free confirmation is attached to one configured, enabled, existing WooCommerce customer email; the plugin does not create a second parallel notification. The selected email must actually run. For example, selecting Completed order will not attach the document when an order remains On hold. Check whether the original is missing, prepared, submitted/accepted, uncertain or failed. A transport acceptance does not prove inbox delivery. Investigate an uncertain attempt before resending; blind automatic retries could produce duplicates. If an eligible confirmed retry control is shown, correct the underlying issue before using it.
Within an applicable request, the attachment path is reused rather than repeatedly adding the same PDF to the same email/order combination.
When the archived order confirmation and the distance-sales contract are both ready for the configured customer-email event, WooCommerce sends them as two distinct PDF attachments in the same notification. The original PDFs remain unchanged after later order updates.
Pro is a separate, licensed add-on used alongside Free. For all new documentation types, install Free 0.12.12 and Pro 0.15.0. Free order confirmations remain independently available; the jointly configured Free and Pro document flow is explained in the Pro customer-email guide.
Test delivery safely
Use an authorized test order and a mailbox or local SMTP sink intended for testing. Verify that exactly the intended WooCommerce email includes a readable PDF and that an unrelated customer email is unaffected. Keep customer information private; never post a real customer’s PDF or entire MIME message in a public support ticket.
Remember that a successful local attachment test confirms assembly and hand-off to the configured mail transport; it does not guarantee delivery to every external provider or recipient mailbox.
Troubleshooting
If the email arrived without a PDF, confirm that Basic PDF is enabled, the selected email is one of the supported/explicitly opted-in order notifications, the WooCommerce email itself is enabled, and the email was generated for an actual order object. Review WooCommerce email settings and the site’s mail transport independently.
If no email arrived at all, troubleshoot WooCommerce’s mail delivery and SMTP configuration first; Commerce Assistant is not a full email delivery service.
Optional current-PDF delivery to the customer is a separate Pro setting. It is not a mandatory third document and does not replace either saved original.
A compatible installed integration can supply tracking numbers and HTTPS links before a new original is sealed.
A later import cannot change that original or an email already sent.
Related guides: Configure Basic PDF, Customer downloads, Diagnostics.