
內容簡介
HDWebmobile Invoices & Packing Slips 外掛為每個 WooCommerce 訂單新增乾淨且可列印的發票與包裝單。客戶可在訂單頁面下載發票與包裝單,管理員則可在編輯訂單畫面列印相應文件,提供簡便的文件管理功能。
【主要功能】
• 提供即時發票與包裝單下載
• 列印優化的 HTML 文件可轉換為 PDF
• 支援上傳商業標誌與選擇主題顏色
• 每個文件請求均經授權檢查
• 顯示每項商品的選項與自訂內容
• 適用於訪客與已登入客戶
外掛標籤
開發者團隊
② 後台搜尋「HDWebmobile Invoices & Packing Slips」→ 直接安裝(推薦)
原文外掛簡介
HDWebmobile Invoices & Packing Slips adds a clean, print-ready invoice and packing slip to every WooCommerce order. Customers get a “Download Invoice” and “Download Packing Slip” link on their order page, and admins get matching “Print” links on the Edit Order screen. Both open a standalone, print-optimized page — click Print, choose “Save as PDF”, and you have your PDF. No PDF library is bundled with this plugin, which keeps it small and avoids an entire category of library-specific bugs.
Every document request is checked before anything is shown — this plugin never trusts an order ID alone. A request is authorized as the order’s owner, an administrator, or (for guest orders) the order’s own real secret key, using the same hash_equals()-based check WooCommerce’s own core checkout pages use for guest order access.
Key Features
On-demand Invoice (full line items, prices, totals, tax, payment method) and Packing Slip (shipping address and item quantities only, no prices) documents
Print-ready HTML that becomes a PDF via the browser’s own Print dialog — no bundled PDF library, no extra plugin weight
Upload your own logo and pick an accent color — shown on every document, using the WordPress media library and color picker you already know
Design fully overridable by a theme developer: copy the plugin’s template to yourtheme/woocommerce/hdinv/document.php, the same override convention WooCommerce itself uses
“Download Invoice” / “Download Packing Slip” links on the customer’s My Account order page; matching “Print” links on the admin Edit Order screen
Every document request is authorization-checked — order owner, administrator, or a valid order key — never a bare guessable order ID
Shows any per-item options/customizations already attached to the order (e.g. from a product-options plugin) alongside each line item
Works for guest and logged-in customers alike
Limitations (please read before installing)
No automatic email attachment — documents are generated on demand, not auto-attached to WooCommerce’s outgoing order emails, in this version
No separate sequential invoice-numbering series — the document uses the WooCommerce order number as its reference; some jurisdictions require a distinct, gapless invoice number for tax compliance, which this version doesn’t provide
No bulk/multi-order printing — one order, one document, at a time
How to Use
1. Set your business details
Go to WooCommerce > Invoices & Packing Slips (Screenshot 1) and fill in your business name, address, tax/VAT ID, and a footer note. Optionally upload a logo and pick an accent color — these appear in the header, footer, and headings of every generated document.
2. Customers download their own documents
On the My Account order view page, customers see “Download Invoice” and “Download Packing Slip” links. Clicking one opens a clean, standalone document (Screenshot 2) with a “Print / Save as PDF” button.
3. Admins print from the order screen
On the admin Edit Order screen, a “Documents” section offers the same “Print Invoice” and “Print Packing Slip” links (Screenshot 3), authorized by your admin capability rather than an order key.
4. Save as an actual PDF
Click “Print / Save as PDF” on the document page, then choose “Save as PDF” (or “Microsoft Print to PDF”, depending on your OS/browser) in the print dialog.
5. Full design control for developers (optional)
For complete visual control beyond the logo and accent color, a theme developer can copy templates/hdinv/document.php from the plugin to yourtheme/woocommerce/hdinv/document.php and edit it freely — WooCommerce’s own theme-override mechanism, so your custom version is never overwritten by a plugin update.
