外掛標籤
開發者團隊
② 後台搜尋「CNB Order PDF Receipts for WooCommerce」→ 直接安裝(推薦)
原文外掛簡介
CNB Order PDF Receipts for WooCommerce attaches a professional PDF receipt/invoice to WooCommerce order emails – without changing your existing email templates. It hooks into WooCommerce’s native email attachment system, so your order confirmation emails stay exactly as they are; the PDF is simply attached alongside them.
Unlike most WooCommerce PDF invoice plugins, this one is built with booking and event plugins in mind: many of them (for example calendar/event-booking plugins) create a standard WooCommerce order per booking and store attendee details – name, email, phone, VAT-exempt status, and similar – as order-level custom fields. This plugin automatically detects those fields and lists them in a “Booking / Attendee Details” section on the PDF, so attendee information travels with the receipt without any extra setup.
Key features
Attaches automatically to the WooCommerce order emails you choose (Processing, Completed, Invoice, On-hold)
Automatically includes booking/attendee custom fields (from event and booking plugins that store attendee data as order meta) in a dedicated section – toggle-able on or off
Three built-in PDF layouts: Classic Invoice, Modern Card, and Minimal Receipt
Customize company name, address, logo, accent color, invoice number prefix, date format, and footer text
Fees and shipping are automatically itemized alongside products, so totals always reconcile
A “Download PDF Receipt” button and a “Send Test Email Now” tool on the order edit screen, so you can preview and test without emailing real customers
Advanced: a wcpr_template_path filter for developers who want to supply their own template entirely
No configuration required to get started – sensible defaults are applied on activation
No Composer, SSH, or command line needed – everything required is bundled in the plugin
External services
This plugin does not send any data to third-party servers, and does not track usage or phone home.
It bundles the Dompdf library to render PDFs entirely on your own server. If you set a Logo URL in the plugin’s settings, Dompdf will fetch that single image URL at the moment each PDF is generated, in order to embed it in the document. No other network requests are made. If you do not set a logo, no external request occurs.
Credits / bundled libraries
This plugin bundles the following open-source libraries, each under a GPL-compatible license:
Dompdf – LGPL-2.1
php-font-lib – LGPL-2.1
php-svg-lib – LGPL-2.1
PHP-CSS-Parser – MIT
html5-php – MIT
