Linux 软件免费装
Banner图

Kitgenix PDF Invoicing for WooCommerce

开发者 kitgenix
更新时间 2026年1月6日 19:26
捐献地址: 去捐款
PHP版本: 8.0 及以上
WordPress版本: 6.9
版权: GPLv3 or later
版权网址: 版权信息

标签

woocommerce pdf documents invoice invoices packing slips receipts credit notes delivery note dompdf order documents

下载

1.0.0 1.0.1 1.0.3

详情介绍:

Most WooCommerce stores eventually need proper order documents. You might need a PDF invoice for accounting, a receipt for the customer, a packing slip for fulfilment, or a credit note when a refund is issued. You also want those documents to look professional, match your branding, and be reliable across different WooCommerce email flows. Kitgenix PDF Invoicing for WooCommerce is a lightweight, security-first PDF invoicing plugin that generates WooCommerce order PDFs on demand — without creating heavy background jobs, and without storing piles of PDF files in your uploads folder. It’s built with real-world store requirements in mind: stable numbering, safe PDF rendering, theme-overridable templates, email attachments that clean up after themselves, and a clean admin workflow for previewing and downloading documents from the order screen. It is also designed to be modular and developer-friendly, so it can grow with your store and be customised safely. What this plugin generates This plugin can generate the following WooCommerce PDF documents: Invoice (PDF)\ Receipt (PDF)\ Packing Slip (PDF)\ Credit Note (PDF) (when refunds exist) Each document type is defined in a document registry and can be extended via filters, making it possible to add additional document types later without rewriting the core plugin. Why store owners choose Kitgenix PDF Invoicing It’s secure by default. PDF generation uses Dompdf configured with strict defaults. Remote fetching is disabled by default, and Dompdf is chrooted to allowed paths. PHP execution inside templates is disabled by default (opt-in only), and all public/admin actions are protected by capability checks and nonces. It doesn’t bloat your site. PDFs are generated only when needed. Email attachments are created as temporary files and cleaned up automatically. The plugin avoids unnecessary processing on normal page loads. It’s built for WooCommerce documents, not generic PDFs. Everything revolves around WooCommerce orders: document numbering, refund-aware credit notes, email attachments, and customer download links in the right places. It’s modular and extensible. The plugin boots a module set (Invoicing, Frontend, Admin, Email, Settings) and allows developers to alter module registration. Document types, templates, filenames, HTML output and availability can all be filtered. Features (in more detail)

安装:

  1. Install via Plugins → Add New (search for “Kitgenix PDF Invoicing”), or upload the ZIP file.
  2. Activate the plugin.
  3. Ensure WooCommerce is active.
  4. Go to WooCommerce → Orders and open an order.
  5. Use the Kitgenix PDF Invoicing meta box to preview or download documents.
  6. Optional: configure branding, numbering and email attachments in the settings page.

屏幕截图:

  • WooCommerce order screen: admin meta box with Preview (HTML) and Download PDF actions.
  • Invoice HTML preview: standard template layout before PDF rendering.
  • Generated PDF invoice: example output streamed in the browser.
  • Credit note actions: shown when an order has refunds.
  • Customer order view: Download Invoice / Credit Note buttons (when enabled).

升级注意事项:

1.0.3 Maintenance and compatibility update. Recommended for all stores. This plugin bundles the Dompdf library to render HTML to PDF. Remote fetching is disabled by default. Dompdf reads local files only under configured allowed paths (chroot), which include the plugin directory and the uploads directory for safe asset usage (such as a logo you upload). This plugin does not send customer data to third-party services for PDF generation. PDFs are generated on your server.

常见问题:

Does this plugin generate PDF invoices for WooCommerce automatically?

It can generate PDFs on demand and can also attach PDFs to WooCommerce emails, which effectively generates them automatically at send-time.

Are PDFs stored permanently in uploads?

No. PDFs are generated to secure temporary files and streamed/attached when needed. Temporary email files are cleaned up automatically.

Can customers download invoices from My Account?

Yes, the plugin can show customer download buttons in the order details screen for logged-in customers who own the order. Credit note links appear when refunds exist.

How do credit notes work?

Credit notes are refund-aware. When an order has refunds, credit note documents can be generated and offered in admin/customer contexts (depending on your configuration).

Is Dompdf bundled and safe?

Dompdf is bundled. The plugin configures it with strict defaults (remote fetching disabled by default and chroot limited). PHP execution inside templates is disabled by default and can be enabled only via a filter for advanced use cases.

How do I override templates?

Copy templates from templates/standard/ into your theme at kitgenix-pdf-invoicing-for-woocommerce/standard/ and edit them. You can also override the template resolution path via filters.

Can I attach PDFs to WooCommerce emails?

Yes. You can attach different documents to different WooCommerce email types. Attachments are generated as temporary files and cleaned up automatically.

Will this work with HPOS?

Yes. The plugin’s order integrations are designed to work with modern WooCommerce order storage and admin workflows.

Can I change invoice numbering, prefixes or filenames?

Yes. The settings allow prefixes and core numbering behaviour, and developers can filter filenames via kitgenix_pdf_document_filename.

Can I disable certain document types?

Yes. Document types can be enabled/disabled in settings, and developers can control availability per order via filters.

Does the plugin support custom document types?

Yes. Document types are registered in a document registry and can be extended via filters, making it possible to add additional document types (for example delivery notes or pro-forma invoices) in a clean way.

更新日志:

1.0.3 (06 January 2026) 1.0.2 (06 January 2025) 1.0.1 (01 January 2025) 1.0.0 (19 December 2025)