kowal.info

PDF Attachment

Composer kowal/module-pdf-attachment · Version 1.0.37

Product page

PDF Attachment — kowal.co

Description

Attach PDFs to Magento sales emails and provide document links in the customer account. Each sales document type has its own settings.

For whom

For stores that want customers to receive a document, such as an invoice, with the email announcing it.

Features

  • Support for orders, invoices, shipments and credit memos.
  • Separate controls for email attachments and customer account links.
  • Admin templates with a PDF preview.

Installation

From the Magento root, with Composer access to the Kowal package, run

composer require kowal/module-pdf-attachment
bin/magento module:enable Kowal_PDFAttachment
bin/magento setup:upgrade
bin/magento cache:clean

Configuration

  1. Enable the module under Stores → Configuration → Kowal → PDF Attachment → General and check the selected PDF library.
  2. Under Invoice, enable Automatically Attach PDF Files to Sales Emails to attach invoices. Set Link Type in Customer Account for customer downloads.
  3. Review Order, Shipment and Credit Memo separately. Enable the documents you want customers to receive or download.

Requirements / notes

The package requires Kowal Base, Magento Email and dompdf, among other components. The module and automatic attachments are disabled by default.

FAQ

Why did the order confirmation arrive without an invoice?

The order and invoice are separate documents with individual settings. Check that the invoice has been issued and its invoice email sent.

Verify the installation

bin/magento module:status Kowal_PDFAttachment

On staging, issue an invoice for an order using an inbox you control. Send the invoice email, open the attachment and compare its number, items and total with the Admin invoice. If account links are enabled, download the document from the customer account as well.