説明
This WooCommerce extension automatically adds a PDF or UBL invoice to the order confirmation emails sent out to your customers. Includes a basic template (additional templates are available from WP Overnight) as well as the possibility to modify/create your own templates. In addition, you can choose to download or print invoices and packing slips from the WooCommerce order admin.
主な特徴
- Automatically attach invoice PDF or UBL to WooCommerce emails of your choice
- Download the PDF or UBL Invoice / PDF Packing Slip from the order admin page
- Generate PDF invoices / packing slips in bulk
- フルカスタマイズ可能な HTML・CSS インボイステンプレート
- [マイアカウント]ページから請求書をダウンロードします
- 連続請求書番号 ー カスタム書式設定付き
- Available in: Czech, Dutch, English, Finnish, French, German, Hungarian, Italian, Japanese (see FAQ for adding custom fonts!), Norwegian, Portuguese, Polish, Romanian, Russian, Slovak, Slovenian, Spanish, Swedish & Ukrainian
Free extensions
The following free extensions are available to add additional features to the plugin:
- PDF Invoices & Packing Slips for WooCommerce – mPDF: Adds support for RTL layout and Arabic script.
- PDF Invoices & Packing Slips for WooCommerce – mPDF CJK: Provides support for Chinese, Japanese, and Korean (CJK) fonts for the mPDF extension.
- PDF Invoices & Packing Slips for WooCommerce – Unicode Language Pack: Adds support for Chinese, Japanese, and Korean scripts.
- PDF Invoices & Packing Slips for WooCommerce – Taxes Summary: Adds a taxes summary table after the order details.
Premium extensions
これに加えて、いくつかのプレミアム拡張機能を提供しています:
- PDF Invoices & Packing Slips for WooCommerce Professional を使用して、PDF 形式の見積請求書、クレジットノート(払い戻し用)、納品明細書、Dropbox への自動アップロード、などを作成・メールで送信
- Automatically send new orders or packing slips to your printer as soon as the customer orders! WooCommerce Automatic Order Printing (from our partners at Simba Hosting)
- Get the complete feature set, including Professional, Premium Templates, and additional features with the WooCommerce PDF Invoices & Packing Slips Plus Bundle
フルカスタマイズ可能
In addition to a number of default settings (including a custom header/logo) and several layout fields that you can use out of the box, the plugin contains HTML/CSS-based templates that allow for customization & full control over the PDF output. Copy the templates to your theme folder and you don’t have to worry that your customizations will be overwritten when you update the plugin.
- カスタムヘッダー画像・ロゴを挿入
- 請求書と納品明細書のショップデータ・フッター・免責事項などの変更
- 用紙サイズの選択(レターまたは A4 )
- 翻訳対応
スクリーンショット
インストール
最小限必須条件
- WooCommerce 3.3 or later
- WordPress 4.4 or later
自動インストール
WordPress がファイル転送自体を処理するため、自動インストールが最も簡単なオプションであり、Web ブラウザを終了する必要さえありません。PDF Invoices & Packing Slip for WooCommerce の自動インストールを行うには、WordPress 管理パネルにログインし、[プラグイン]メニューに移動して[新規追加]をクリックします。
検索フィールドに「PDF Invoices & Packing Slip for WooCommerce」と入力し、[プラグインの検索]をクリックします。 [今すぐインストール]をクリックするだけでインストールできます。そのリンクをクリックすると、プラグインをインストールするかどうかを確認するメッセージが表示されます。[はい]をクリックすると、WordPress は自動的にインストールを完了します。インストールが完了したら、[有効化]リンクをクリックします。
WordPress インターフェースを介した手動インストール
- プラグイン zip ファイルをコンピューターにダウンロードします
- WordPress 管理パネルメニューの[プラグイン] [新規追加]に移動します
- アップロードを選択
- プラグインの zip ファイルをアップロードすると、プラグインがインストールされます
- インストールが完了したら、「有効化」リンクをクリックします
FTP 経由の手動インストール
- プラグインのファイルを自分のコンピューターにダウンロードして、解凍します。
- FTP プログラムまたはホスティングコントロールパネルを使用して、解凍したプラグインフォルダーを WordPress インストールの wp-content/plugins/ ディレクトリーにアップロードします。
- WordPress の管理画面のプラグインメニューからプラグインを有効化します。
FAQ
-
ドキュメントはどこにありますか?
-
動作しません!
-
こちらのステップバイステップの診断手順をご覧ください:https://wordpress.org/support/topic/read-this-first-9/
-
他のテンプレートはどこにありますか?
-
Go to wpovernight.com to checkout more templates! These include templates with more tax details and product thumbnails. Need a custom templates? Contact us at support@wpovernight.com for more information.
-
見積請求書またはクレジットノートを作成・送信できますか?
-
これは、wpovernight.com にあるプロフェッショナル拡張機能です。
-
コードに貢献できますか?
-
どういたしまして! このプラグインは github でホストされ、問題を投稿したり、プルリクエストを作成したりできます。
https://github.com/wpovernight/woocommerce-pdf-invoices-packing-slips -
テンプレートをデバッグ・開発するための HTML・CSS ソースを表示するにはどうすればよいですか?
-
There’s a setting on the Advanced tab of the settings page that allows you to toggle HTML output. Don’t forget to turn if off after you’re done testing!
評価
貢献者と開発者
PDF Invoices & Packing Slips for WooCommerce はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。
貢献者変更履歴
4.9.1 (2025-11-06)
- Fix: Fatal error when Credit Note passes Order Refund to
wpo_ips_order_has_local_pickup_method()
4.9.0 (2025-11-03)
- New: Upgrade Dompdf to version 3.1.4
- Tweak: Improve display of Shipping cost and location details in PDF totals
- Fix: Extended currency symbols show in PDF but not in PDF Preview
- Translations: Updated translation template (POT)
4.8.0 (2025-10-21)
- New: Added notice for missing custom template files
- New: Implemented recurring action scheduling for semaphore cleanup
- New: Upgraded Dompdf library to version
3.1.3 - New: Displayed Pro settings section under the General tab
- New: Added accordion sections to the Advanced settings tab
- New: Added hooks for extra fields support in the PDF document data order metabox
- New: Logged database errors in
SequentialNumberStoremethods - Tweak: Improved
Semaphoreclass by adding transient caching for cleanup status - Tweak: Added note and permalink check for Pretty document links setting
- Fix: Prevented fatal error when
SettingsCallbacks::validate()receivesfalse - Fix: Prevented document links from appearing in all email placements by ensuring each link is added only to its own configured location
- Fix: Removed deprecated
finfo_close()calls for PHP 8.5 compatibility - Fix: Prevented fatal error in
yearly_reset_action_missing_notice()when$this->settingsisnull - Translations: Updated translation template (POT)
- Tested: Compatibility confirmed with WooCommerce 10.3
4.7.0 (2025-09-09)
- New: Playground blueprint added
- New: Show deleted document numbers in Advanced > Numbers
- New: Hide PDF order metaboxes when no documents are enabled
- New: Advanced setting to choose default admin manual invoice number
- Tweak: Open PDFs in a new browser tab/window on the Thank you page
- Tweak: Extend automatic cleanup to also remove expired semaphore locks
- Tweak: Disable UBL Standard admin notice
- Fix: Setup wizard not retrieving shop address correctly
- Fix: Redirect issue when hiding unstable version notice
- Fix: Prevent email attachments for Packing Slip documents when Pro is not active
- Fix: Update WooCommerce REST order API hook while keeping legacy compatibility
- Fix: Fatal error in setup wizard when
wpo_wcpdf_get_country_states()receives anullcountry code - Fix: Fatal error when calling
WC_Tax::get_tax_rate_classes()on older WooCommerce versions - Translations: Updated translation template (POT)
- Tested: Compatibility confirmed with WooCommerce 10.2
4.6.3 (2025-08-18)
- Tweak: Mark the
wcpdf_get_invoice()andwcpdf_get_packing_slip()functions as deprecated - Fix: Wrong condition in
Semaphore::init_cleanup()preventing cleanup run - Fix: Item meta display error on legacy WooCommerce installs
- Fix: Fatal error in
get_order_fees()caused by unsupported operand types - Translations: Updated translation template (POT)
- Tested: Confirmed compatibility with WooCommerce 10.1
4.6.2 (2025-07-31)
- Fix: Restore full item meta display in PDF
- Fix: Undefined array key “padding”
- Translations: Updated translation template (POT)
4.6.1 (2025-07-29)
- Tweak: Updated CSS class name used for the shop email in templates
- Fix: Resolved issue with date format for “Mark as printed”
- Fix: Improved settings menu tab styling on smaller screens
- Fix: Prevented PHP warnings when
allow_url_fopenis disabled - Fix: Corrected argument mismatch in
add_document_link_to_email() - Translations: Updated translation template (POT)
4.6.0 (2025-07-15)
- New: Added filter to modify the return value of
get_shop_address() - New: Enhanced document data editing on the order page
- New: Refined styling for settings submenus
- New: Improved Country/State selection in the Setup Wizard Shop Address step
- New: Added “Email Address” to Shop Address fields
- New: Document data editing for Invoices and Credit Notes is now disabled by default. Enable via Advanced settings
- New: Added sync action button to Shop Address fields
- New: Linked documentation to historical settings descriptions
- New: Displayed shop phone number below address in the Simple template
- Tweak: Deprecated legacy
shop_addresstext hook - Tweak: Updated UBL tax filters to append values instead of overriding defaults
- Fix: Resolved issue where Order Proposal plugin email attachments failed without the Professional extension
- Fix: Allowed HTML in the “Shop Additional Info” field
- Fix: Replaced free-text state input with a select field to ensure valid WooCommerce state codes
- Fix: Added missing documentation link to UBL Tax settings
- Translations: Updated POT file for translations
- Tested: Confirmed compatibility with WooCommerce 10.0
4.5.2 (2025-05-27)
- Tweak: Suppress log entries for missing font files that are expected and not required
- Fix: Support for
{state_code}in shop address formatting - Fix: Restore
wpo_wcpdf_shop_addresshook for compatibility - Fix: Missing support for placeholders like
{city_upper}in shop address formatting
4.5.1 (2025-05-26)
- Fix: Shop address not shown in documents when historical settings are enabled
- Fix: Validation issues flagged by WP Plugin Check
4.5.0 (2025-05-26)
- New: Separated shop address fields introduced
- New: Categories added to General settings
- New: E-Invoicing tax categories, schemes, and exemption reasons aligned with EN16931 standard
- New: Setup wizard option to display PDF action buttons in orders list
- Tweak: Added permission check to pre-release notice display
- Tweak: Default to PHP file functions in Filesystem class due to
WP_Filesysteminstability - Fix: “Reload Attachment Translations” setting always shown as checked
- Fix: Fatal error in Semaphore class when
wcpdf_log_error()is undefined - Fix: Restrict document number input to valid positive integers
- Fix: Fonts not reinstalled properly after upgrade when temporary folder is cleared
- Fix: Delay in updating PDF Document Data
- Translations: Updated translation template (POT)
- Tested: Tested up to WooCommerce 9.9
4.4.1 (2025-04-28)
- Tweak: Improve Invoice My Account link logic for custom status checks and code clarity
- Fix: Type error when accessing debug settings in FileSystem constructor
- Translations: Updated translation template (POT)
4.4.0 (2025-04-22)
- New: Add index on
order_idcolumn to document number database tables - New: Add
wpo_wcpdf_settings_default_user_capabilityfilter and improve user capability fallback logic - New: Helper function to handle UBL file writing with error handling
- New: Hybrid filesystem support
- Tweak: Minor code improvements in Setup Wizard view
- Fix: Deprecation warning for
nullvalue passed tosubstr()when extracting thumbnail URL - Fix: Missing log function fallback when dependencies are not loaded
- Fix: “Gapped” invoices shown when other documents used the invoice numbering
- Fix: i18n issue in Invoice settings
- Fix: Fatal error when
nullis passed toin_array()inDocuments.php - Fix: Missing global call to AS functions in Semaphore class
- Fix: PDF preview issues
- Translations: Updated translation template (POT)
4.3.0 (2025-04-07)
- New: Adds setting to toggle PDF translation reload for email attachments
- New: Adds Dompdf log file reference and enable additional debug output when debug mode is active
- New: Add filter to allow customization of document link
- New: Display latest stable and unstable GitHub releases on status page and show admin notice for new unstable versions
- New: Refactor SQL queries for safe table name handling
- Fix: Restore
translate()fallback inwpo_wcpdf_dynamic_translate()function - Fix: Numbers tab datepicker style when
SCRIPT_DEBUGis defined - Fix: Missing translation function for string on Advanced Numbers page
- Translations: Updated translation template (POT)
- Tested: Tested up to WooCommerce 9.8 & WordPress 6.8
4.2.0 (2025-03-24)
- New: Improved fonts check and reinstatement in temporary fonts directory
- New: Function to reload WC webhooks
- New: Improved autoloading for prefixed dependencies
- New: Added plugin-specific filter hook for order item name
- New: Removed the ‘Guest’ document access type, as it is covered by ‘Full’
- New: Updated DOMPDF to v3.1.0
- New: Upgrade link on Packing Slip document status
- New: Added order coupons data to UBL document
- Tweak: Ensured correct PDF Content-Type for improved browser handling
- Tweak: Refactored PDF Simple template order details header for cleaner syntax
- Fix: Improved date field options in Danger Zone tools for clarity
- Fix: SQL interpolation issues flagged by WP Plugin Check
- Fix: Removed duplicate
AccountingSupplierPartyandAccountingCustomerPartyin UBL - Fix: Resolved issues rendering the number tab results
- Translations: Updated translation template (POT)
4.1.1 (2025-02-17)
- Tweak: Added a documentation link to the System Configuration label
- Tweak: Improved WP Filesystem implementation
- Fix: Cleans up special characters in
get_html()for Bulk Document - Fix: Fixed line breaks not being respected in Document notes
4.1.0 (2025-02-12)
- New: Display Installed Plugin Versions table under Advanced Status
- New: Setting to include document link in emails for guest customers
- Tweak: Enhanced the readme file to list available free extensions
- Tweak: Use
wp_kses_postinstead ofwpo_wcpdf_sanitize_html_contentfor footer and extras fields - Fix: Product bundle border bottom in PDF template styles
- Fix:
OrderDocument::get_language_attributes()return value must be of typestring,nullreturned - Fix: Regression in PDF totals style
- Fix: Check if
is_enabled()is callable for the document inwcpdf_get_document_file() - Translations: Updated translation template (POT)
- Tested: Tested up to WooCommerce 9.7
4.0.0 (2025-02-04)
- New: Updated setup Wizard
- New: Comply with WP Plugin Check standards
- New: Function
wpo_wcpdf_gettext() - New: Adds the default PDF column labels to the strings file
- New: Add Lithuanian language pack (document strings only)
- Fix: Document access security issue
- Fix: Remove translatability from VAT and COC fields
- Fix: Call to undefined function
standardSerializer()on UBL - Translations: Updated translation template (POT)
3.9.6 (2025-01-21)
- Fix: Error calling undefined method
WC_Order_Refund::get_customer_id()
3.9.5 (2025-01-20)
- New: Email input callback function for settings
- New: Adds support for additional UBL root elements
- New: Add support for multiple handlers under a single root in
UblDocument::get_data() - New: Validation for order tax exemption to apply UBL tax reason
- New: The “Regenerate Invoice” feature now updates UBL Tax item data
- New: Enhance UBL Taxes default selector, ‘None’ Option
- New: Add
cbc:BaseQuantitysupport to UBL structure - New: UBL Tax settings now align with the latest settings option
- New: Add utility function for dynamic string translation
- New: Add
cbc:BuyerReferenceelement to UBL for buyer reference - New: Enable Support for
cac:PaymentMeansin UBL - New: Filter hooks for UBL tax schemes, categories, and reasons
- New: Add
cac:Pricesupport to UBL - New: Support for UBL Tax Category Reason
- Tweak: Replace UBL code to get the customer VAT number with new function
- Tweak: Update UBL format selector description
- Tweak: Allow
0days for the due date - Tweak: Apply
wpo_wcpdf_settings_fields_documents_{$this->type}_pdfbefore checking the emptiness of the$settings_fields - Fix: Logo height setting can break document layout on Simple template
- Fix: Setting categories not applied to disabled documents
- Fix: Postcode and city defaults in UBL tax output
- Fix: Incorrect treatment of UBL format setting as historical
- Translations: Updated translation template (POT).
- Tested: Tested up to WooCommerce 9.6.
3.9.4 (2024-12-23)
- New: add a note to inform users about the availability of additional documents
- New: display a notice when the yearly reset action is not scheduled
- Tweak: transition UBL support out of beta
-
Translations: update translation template (POT)
-
New: enable searching for multiple invoice numbers in the Orders list for HPOS setups
- New:
calculate_due_date()document function - Fix: correct the type of the abstract document
order_idproperty - Fix: UBL shop country code
- Translations: update translation template (POT)
3.9.2 (2024-12-17)
- New: adds description to UBL format selector
- Fix: issue with PHP extension load checks
- Translations: Updated translation template (POT).
3.9.1 (2024-12-16)
- New: Adds support for multiple UBL formats.
- New: Adds a shop phone number field for e-Invoice support.
- New: Adds user info to order notes when generating documents.
- New: Added an admin notice to inform when server requirements are not met.
- New: Raised the minimum PHP version requirement to 7.4.
- New: Removes space between items table and totals.
- New: Added sections to settings for better organization.
- Tweak: Improve the description of the “Remove released semaphore locks” tool.
- Fix: Upgrade links not displaying correctly.
- Fix: Temp folder warning style issue.
- Fix: Remove unused legacy notice code:
check_auto_increment_increment(). - Fix: AJAX preview loading when disabled on settings pages.
- Fix: UBL issue with empty tax on line items.
- Fix: jQuery
tipTipfunction not available. - Fix: Template item meta styling.
- Fix: Semaphore class name on two classes that were still using the previous name.
- Translations: Updated translation template (POT).
- Tested: Tested up to WooCommerce 9.5.
3.9.0 (2024-10-21)
- New: Updated
sabre/xmllibrary to version 4. - New: Added notice about dropping support for PHP versions below 7.4.
- New: Implemented PSR-4 Autoloading Standard for improved code structure and maintainability.
- New: Deprecated
wpo_wcpdf_due_date_displayhook. - Fix: WC item meta style issue when using
dd. - Fix: Relocated
wpo_wcpdf_use_pathhook before$srcempty check. - Translations: Updated translation template (POT).
3.8.8 (2024-10-08)
- Fix: adds missing deprecated filters to document title methods
3.8.7 (2024-10-07)
- New: Add full compatibility with mPDF to the Simple Template.
- New: Add refund reason and invoice number titles to the document methods abstract class.
- New: Improve template titles registration.
- New: Improve invoice due date setting.
- New: Add “You might also like these plugins” section to the Upgrade tab.
- New: Function to determine if checkout is using block:
wpo_wcpdf_checkout_is_block(). - New: Clean legacy Semaphore locks tool.
- New: Automatic cleanup of unlocked Semaphore locks and other improvements.
- New: Tool to remove expired Semaphore locks.
- New: Filter to modify PDF document data fields:
wpo_wcpdf_document_data_meta_box_fields. - Tweak: Lower hook priority (200) for invoice columns in WooCommerce orders list.
- Fix: Replace deprecated jQuery
change()function usage. - Fix: Correct path to generic document icon.
- Fix: Check user capabilities in the
enable_debug()function. - Fix: Load plugin translations later on the
inithook. - Fix: Unblock UI when a tool button is clicked.
- Translations: Update translation template (POT).
- Tested up to WooCommerce 9.4.
3.8.6 (2024-07-18)
- Fix: function
add_yith_product_bundles_classes()errors - Fix:
get_header_logo_id()return type fatal error
3.8.5 (2024-07-16)
- New: PDFJS v4.3.136 upgrade
- New: advanced embed images setting
- New: includes ImageMagick library in the Advanced Status
- New: adds Invoice number to search type selector in HPOS setups
- New: adds row classes for “YITH WooCommerce Product Bundles”
- New: register a log for document deletion in the Order Notes
- Tweak: improves header logo loading
- Fix: make Simple template total labels translatable
- Fix: wraps document addresses around
<p>tags - Translations: Updated translation template (POT)
- Tested up to WooCommerce 9.1 & WordPress 6.6
3.8.4 (2024-06-19)
- New: filter hook
wpo_wcpdf_multilingual_languages - New:
wpo_wcpdf_get_multilingual_languages()function has been introduced, derived from the deprecatedget_languages()function - Tweak: Added new strings to the
strings.phpfile to improve translations - Tweak: enhanced notes functions for improved translations when using the Professional extension.
- Fix:
normalize_settings_args()function bug on multilingual setups - Fix: settings language tab issue when adding new language in multilingual setups
- Translations: Updated translation template (POT)
3.8.3 (2024-06-06)
- New: adds language attribute to PDF HTML
- New: Dompdf
v3.0.0upgrade - New: filter hook
wpo_wcpdf_after_system_status_table - New: filter for server configs
wpo_wcpdf_advanced_status_server_configs - New: PDFJS
v3.11.174upgrade - Tweak: adds
pas allowed tag of thewpo_wcpdf_sanitize_html_content()function - Fix: number formatting
[order_number]placeholder not using parent order number on Credit Notes - Fix: remove unwanted tags from
wpo_wcpdf_sanitize_html_content() - Fix: removes unused “Log invoice number generation” setting
- Fix: reverts the
customer_invoiceemail title to the original Woo title - Fix: the function
get_extensions_license_data()returning empty if no cached data found - Fix: bug created by the output of the function
wpo_wcpdf_sanitize_html_content()beingnull - Translations: Updated translation template (POT)
- Tested up to WooCommerce 9.0
3.8.2 (2024-04-29)
- Fix: “Customer Invoice” email title under “Send order email” metabox
- Fix: filter called with a refund object in
get_billing_address()andget_shipping_address() - Translations: Updated translation template (POT)
- Tested up to WooCommerce 8.9
3.8.1 (2024-04-23)
- New: updates DOMPDF to
v2.0.7 - New: adds
woocommerceas required plugin - New: improvements to shop logo to be translatable in future Professional extension version
- Fix: document date parse function being called on non HPOS stores
- Fix: replaces deprecated jQuery functions
- Fix: bug with type hint in
wpo_wcpdf_parse_document_date_for_wp_query()function - Fix: bug calling
is_allowed()onboolunderwcpdf_get_document()function - Fix: not removing documents meta on Woo subscription renewal
- Fix: XSS vulnerability on Woo Checkout user input address data
- Fix: Semaphore attachments issue on concurrent refunds
- Translations: Updated translation template (POT)
- Tested up to WooCommerce 8.8
3.8.0 (2024-03-18)
- New: updates composer libraries, specially
php-svg-libbecause of a security issue - New: hooks to allow adding new Settings Debug tabs and their contents
- New: implements date type selector on Danger tools
- New: filter
wpo_wcpdf_process_danger_zone_tools_date_type - New: bumps WooCommerce min version to 3.3
- New: function
wcpdf_error_handling() - New: function
wcpdf_get_document_output_format_extension() - New: function
wcpdf_get_document_file()to get the document file - Tweak: adds new filter to include invoice number in HPOS search queries
- Tweak: replace
date()withdate_i18n()onget_filename() - Tweak: improves number initiation with new function:
init_number()toinitiate_number() - Tweak: hides the extensions banner temporarily
- Fix: bug that caused a sorting issue in the orders list
- Fix: JS error
$(...).pointeris not a function - Fix: danger tools forms not working
- Fix: bulk document missing slug property
- Fix: changed default nonce name for wizard dismissal
- Fix: advanced tools issues like “Generate random temporary directory” not working
- Fix: number tool pagination
- Fix: renumbering documents not working
- Translations: Updated translation template (POT)
- Tested up to WooCommerce 8.7 & WordPress 6.5
3.7.7 (2024-01-29)
- New: extensions license cache system
- New: hides the Upgrade tab on bundle
- New: get document filter hook
wcpdf_get_document - Tweak: improves Simple template files markup
- Tweak: moves the notes hooks position in template files
- Fix: sorting orders by invoice number and date issue on the orders listing page
- Fix: the level parameter sent to the
log()method in semaphore class - Fix: SQL injection bug in Advanced Numbers search
- Translations: make the due date output translatable
- Translations: Updated translation template (POT)
- Tested up to WooCommerce 8.5
3.7.6 (2024-01-09)
- New: enforces PHP 7.2 as minimum version
- New: DOMPDF upgrade to
v2.0.4 - Tweak: declare new “Payment date” string for translation
- Fix: potential SQL injection bug in Number Tools
- Fix: bug in
get_payment_date() - Translations: Updated translation template (POT)
3.7.5 (2023-12-13)
- Tweak: includes
$argsin filter hookwpo_wcpdf_filenameparameters - Tweak: re-adds the legacy hook
woocommerce_invoice_numberfor backwards compatibility - Fix: bug in “Full” document access using bulk actions
- Fix: fatal error in UBL document
3.7.4 (2023-12-06)
- New: adds new setting to enable semaphore logs
- Tweak: adds descriptions to the COC and VAT settings
- Tweak: replaces Packing Slip shipping function in the template file
- Tweak: adds semaphore to email attachment function
- Fix: bug on
get_payment_date() - Fix: bug on getting VAT & CoC number saved values
- Tested up to WooCommerce 8.4
3.7.3 (2023-11-27)
- New: temporary promo ad
- Tweak: improves the templates number/date functions
- Tweak: update the filter
wpo_wcpdf_due_date_displayarguments - Tweak: change the way the setting is retrieved for the due date
- Fix: Packing Slip attachment when Pro is disabled
- Fix: modifying order creation date in the
get_due_datemethod - Fix: PHP 8.1
preg_replacewarning - Fix: fatal error in the
custom_field()function when custom field is anarray - Fix: multiple document generation with “Full” access type
- Fix: empty argument bug for
display_due_datemethod
3.7.2 (2023-11-08)
- New: adds Due Date option to the Invoice settings
- New: filter for plugin directories in Advanced Status tab:
wpo_wcpdf_plugin_directories - New: advanced tab with Number tools extension code integrated
- Tweak: updates Upgrade tab extension features
- Fix: bug on historical settings not being deleted when using most current settings
- Fix: bug on document variable name on
output_ubl()method - Tested up to WooCommerce 8.3
3.7.1 (2023-10-20)
- Fix: bug on UBL preview that forces the invoice creation
3.7.0 (2023-10-18)
- New: adds
payment_date()function to be used in templates - New: adds UBL as additional output format for documents
- New: bump min required PHP version to 7.2
- New: bump min required WordPress version to 4.4 (which was already implicitly by the minimum required WooCommerce version)
- Tweak: switch
wpo_wcpdf_before_htmlandwpo_wcpdf_before_htmlhooks positions - Tweak: hide next Invoice number if displaying order number
- Tweak: removed legacy
normalize_pathfunctions and replaced withwp_normalize_path - Fix: bug with HTML output using pretty links. Improved endpoint.
- Fix: potential fatal error if document is
falsein order list action buttons - Fix: error when calling order ID on
nullunderoutput_number_date_edit_fieldsmethod - Fix: bug when displaying the Invoice number/date columns, causing significant drop of performance
- Fix: my account PDF link conflict with Jetpack analytics module
- Fix: PHP error on calling
get_title()document method onbool - Fix:
strpos()andstr_replace()nullparameter deprecated warnings - Tested up to WooCommerce 8.2 & WordPress 6.4
3.6.3 (2023-09-04)
- New: adds Invoice Number column to the orders export of WooCommerce Analytics
- New: adds a document access denied redirect page setting
- New: hooks before and after debug tools:
wpo_wcpdf_before_debug_tools,wpo_wcpdf_after_debug_tools - Tweak: add a note to make clear that updating the number format only affects new orders
- Tweak: removes legacy mode & textdomain from debug settings
- Fix: undefined WC PageController method
is_admin_pagebug and replace it withis_admin_or_embed_page
3.6.2 (2023-08-23)
- New
wcpdf_document_linkshortcode - New: parameters to download PDF shortcode
- New: adds notice for the upcoming PHP 7.2 requirement
- New: filter hook to strip HTML tags from Shipping Notes
wpo_wcpdf_shipping_notes_strip_all_tags - Fix: bug of passing the wrong variable for the filtered order emails
- Fix: remove old temporary directory when generating new one from status tool
- Fix: displays always the Generate random temporary directory tool
- Fix: issue with Shipping Notes line breaks
3.6.1 (2023-08-16)
- Fix: string encoding issues in PDF
3.6.0 (2023-08-15)
- New: setting for improved document link access type
- New: implemented autoloader for plugin classes
- New: adds a new Status tool to reset plugin settings
- New: invoice number column added to the WooCommerce order analytics
- Fix: replaces
utf8_decode()which is deprecated in PHP 8.2 - Fix: allows the translation for the Shipping Notes strings
- Fix: bug when trying to delete temporary files when using mPDF extension
- Fix: bug on
$updaterreturningnullin Upgrade tab function - Fix: deprecates
woocommerce_resend_order_emails_availablefilter - Fix: several string typos
- Fix: revert breaking long characters in order data labels
- Fix: PHP8.2 creation of dynamic property deprecated warnings
- Translations: Updated translation template (POT)
- Tested up to WooCommerce 8.0 & WordPress 6.3
3.5.6 (2023-06-21)
- New: adds a generic shortcode
[wcpdf_download_pdf]for PDF download links - New: bump preview PDFJS library to v3.7.107
- Tweak: optimize PDFJS library size
- Tweak: remove WPO hiring banner from the Status tab
- Tweak: composer dependencies update
- Fix: font deletion bug after plugin upgrade
- Fix: bug on previewing Credit Note if the order has multiple refunds
- Fix: PHP error on
log_document_creation_trigger_to_order_meta()function when trying to get order ID and type - Translations: Updated translation template (POT)
- Tested up to WooCommerce 7.8
3.5.5 (2023-06-01)
- New: toggle display date and created via on document data
- New: adds support for legacy Sidekick activated licenses in Upgrade tab
- Tweak: log invoice number generation on setting
3.5.4 (2023-05-19)
- Tweak: improves code for the upgrade tab get license info function
- Fix: bug on templates using legacy versions of the Premium Templates extension
- Fix: string translation issues & updated POT
- Fix: bug in slug property not set when defining the document number lock name
3.5.3 (2023-05-15)
- New: display creation trigger in document data and order meta
- New: detects the extension license status in the Upgrade tab
- New: invoice number search document setting
- New: adds new filter to stick Document data metabox:
wpo_wcpdf_sticky_document_data_metabox - Fix: adds semaphore to Invoice number init to prevent concurrent number issues
- Fix: invoice column hooks only on setting condition
- Tested up to WooCommerce 7.7
3.5.2 (2023-04-12)
- New: added upgrade tab
3.5.1 (2023-04-07)
- Tweak: adds user permission check on AJAX document printed
- Fix: bug on trying to save bulk document setting on
document_can_be_manually_marked_printed() - Fix: disallow document creation for anonymized orders
3.5.0 (2023-04-05)
- New: save invoice display date option
- New: mark/unmark Invoice as printed
- New: adds notice when RTL is detected
- New:
wpo_wcpdf_preview_after_reload_settingsaction - New:
wpo_wcpdf_export_settingsfilter - Fix: fatal error on WC deactivation
- Fix: invoice number/date screen options bug with HPOS enabled
- Tested up to WooCommerce 7.6 & WordPress 6.2
3.4.0 (2023-02-20)
- New: filter
wpo_wcpdf_settings_user_role_capabilitiesto change role capabilities to access plugin settings - New: improved debug tools UI
- New: import/export settings tools
- New: dompdf upgrade to v2.0.3
- Fix: save document settings in order meta only on document init
- Tested up to WooCommerce 7.4
3.3.2 (2023-02-03)
- New: dompdf upgrade to v2.0.2
- New: filter to control the value returned by
is_woocommerce_activated() - Fix: JS undefined error when trying to retrieve preview gutter texts
3.3.1 (2023-01-20)
- Fix: applies
overflow-wrap:anywhere;to the Simple templatebodyin CSS styles - Fix: displays a message if the typed next number is superior to MySQL INT max
- Fix: allow preview gutters text to be translated
- Fix: settings forms background color issue
- Fix: PHP notice for undefined index
exists - Fix the year in the date release of v3.3.0 in readme.txt
3.3.0 (2023-01-16)
- New: WooCommerce HPOS compatibility (beta)
- New: reschedule the yearly reset of the numbering system on a button from the Status page
- New: document status table in the Status page
- New: adds document object argument to PDF maker class constructor
- New: filter to allow user to disable the documents private data removal:
wpo_wcpdf_remove_order_personal_data - Tweak: optimizes
$wpdbuse onSequential_Number_storeclass - Tweak: improves yearly reset number with Action Scheduler and Updraft Plus Semaphore
- Fix: replaces the use of the deprecated
wcs_filter hooks from WooCommerce Subscriptions plugin - Fix: bail if document data is empty when saving order
- Fix: add nonces to several admin unsecure requests
- Tested up to WooCommerce 7.3
3.2.6 (2022-12-15)
- Fix: adds nonce check in hide link for attachments hint in admin
- Tested up to WooCommerce 7.2
3.2.5 (2022-11-22)
- Fix: allow for WooCommerce Booking without order
3.2.4 (2022-11-07)
- Tweak: update translation template and files
- Fix: break long URLs in different lines if it reaches the available space in Simple template
- Fix: restore deleted strings and load them using standalone strings.php file
- Fix: warning on deprecated argument from product get_dimensions() method
- Tested up to WooCommerce 7.1
3.2.3 (2022-10-28)
- Fix: check if the order is unsaved or doesn’t exist before rendering the PDF document
- Fix: bug on getting the order ID from third party objects when attaching PDF to email
- Fix: reverts documents functions/templates escaping that caused issues on version 3.2.2
- Fix: billing/shipping phone getter functions for refund orders
- Tested up to WordPress 6.1
3.2.2 (2022-10-25)
- New: filter to allow customers to access your PDF with a unique key
- Fix: check if the shop logo exists
- Fix: check if HTML is escaped properly before echoing
- Fix: maybe reinstall fonts (if are missing) before PDF output
- Fix: bug on automatic cleanup cron job
- Fix: removes WC legacy versions compatibility classes. Bumps WC minimum version to 3.0
- Fix: allow manually resending new order email
- Fix: run action hooks within invoice columns under order list
- Marked tested up to WooCommerce 7.0
3.2.1 (2022-10-06)
- Renames the plugin to comply with trademark rules
3.2.0 (2022-09-26)
- New: setting to display the Invoice date column in the WooCommerce orders list
- New: updated Dompdf to version 2.0.1, which fixes a security vulnerability.
- New: filter
wpo_wcpdf_document_link_additional_varsto add additional query variables to the document link - Tweak: improved document settings data init/save
- Tweak: improved wizard display settings
- Tweak: improved styles and descriptions for the document ‘Number format’ settings
- Tweak: new query variable for the shortcode document link
3.1.1 (2022-09-13)
- Fix: fatal error caused by list_files() function missing
3.1.0 (2022-09-06)
- New: custom document links feature available from the Status tab debug settings page. Changes the document links to a prettier URL scheme
- New: action hooks before and after the shop logo:
wpo_wcpdf_before_shop_logoandwpo_wcpdf_after_shop_logo - Fix: replaces WP_Filesystem with PHP functions to delete temporary files
- Marked tested up to WooCommerce 6.8
3.0.1 (2022-08-02)
- New: admin pointer for document settings dropdown
- Security: escape the tab and section parameters before outputting it back, leading to a Reflected Cross-Site Scripting. This bug was reintroduced on version 2.14.0
- Tweak: prevent requirements select to reload settings preview
- Fix: allow remove requirement trigger secondary save button on settings pages
- Marked tested up to WooCommerce 6.7
3.0.0
- Libraries: Updated dompdf to …






