
內容簡介
HDWebmobile Invoices & Packing Slips 外掛為每個 WooCommerce 訂單新增乾淨且可列印的發票和包裝單。顧客可以在訂單頁面下載文件,管理員則可在編輯訂單畫面列印,所有文件均可透過瀏覽器直接轉換為 PDF。
【主要功能】
• 提供即時發票和包裝單文件
• 列印優化的 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
Enjoying this plugin?
If it helps your site, please consider leaving an honest review on WordPress.org — it helps other WordPress users find it. Found a problem or have an idea? Please open a support topic first so it can be fixed.
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.
