=== WDOnline Print Order for WooCommerce ===
Contributors: wdonlinedk
Donate link: https://www.paypal.com/ncp/payment/NKERMAVC4PXML
Tags: woocommerce, print order, packing slip, order confirmation
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 0.4.3
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Print secure, printer-friendly WooCommerce order confirmations and packing slips from the WordPress administration.

== Description ==

WDOnline Print Order for WooCommerce adds print actions to individual orders and the WooCommerce order list.

Features:

* Print an order confirmation or packing slip from an order.
* Print multiple selected orders using WooCommerce bulk actions.
* Generate an aggregated pick list across multiple selected orders.
* Optionally show product images and GTIN on aggregated pick lists.
* Track printed and packed orders directly in the order list.
* Filter orders by print and packing status.
* Sort products by name, SKU, GTIN or category.
* Show all order item metadata except exclusions, or print only selected metadata.
* Discover metadata keys from recent orders and optionally customize printed labels.
* Optional prices, SKU, GTIN, product images and customer notes.
* Configurable company name, details and logo.
* Optional automatic opening of the browser print dialog.
* Compatible with WooCommerce High-Performance Order Storage (HPOS).
* No customer or order information is sent to external services.

== Installation ==

1. Upload the plugin ZIP through Plugins > Add New > Upload Plugin.
2. Activate the plugin.
3. Configure it under WD Online > Print Order.
4. Open a WooCommerce order and use the Print order panel.

== Frequently Asked Questions ==

= Can I hide prices on a packing slip? =

Yes. Prices are hidden on packing slips by default and can be enabled in the plugin settings.

= Can I print several orders at once? =

Yes. Select the orders in the WooCommerce order list and choose one of the print bulk actions.

== Changelog ==

= 0.4.3 =
* Added the standard discreet WD Online support box with the current PayPal/card support link.
* Registered administration scripts and styles before enqueueing them to match the plugin project standards.
* Restored the public Author URI and added the public plugin product page as Plugin URI.
* Improved request handling by unslashing packed-status query values before validation.
* Refreshed the translation template for the new support text.

= 0.4.2 =
* Moved all print-view JavaScript to a properly enqueued external file.
* Removed inline event handlers and inline administration styles.
* Removed website URI headers while the URLs are unavailable to WordPress.org validation.

= 0.4.1 =
* Added the plugin-specific WD Online product page URL.
* Corrected the feature list after removal of the footer setting.

= 0.4.0 =
* Added optional product images to aggregated pick lists.
* Added a separate option for showing or hiding GTIN on aggregated pick lists.
* Added variation image support with a parent product image fallback.

= 0.3.1 =
* Added the required translator context for the aggregated order count.
* Documented the intentional metadata query used by the administrator order status filter.

= 0.3.0 =
* Added separate metadata display modes for packing slips and order confirmations.
* Added exact allowlists for printing only selected order item metadata.
* Added optional custom labels using the key|Label format.
* Added a list of public metadata keys detected in the 50 most recent orders.
* Preserved the existing exclusion-based metadata behavior after updating.

= 0.2.1 =
* Added the required quantity beside each order number on aggregated pick lists.
* Combined quantities correctly when the same product appears more than once in an order.

= 0.2.0 =
* Added aggregated pick lists with total quantities and related order numbers.
* Added product sorting by name, SKU, GTIN or category.
* Added print and packed status tracking with an order list column.
* Added order filters for printed, not printed, packed and not packed orders.
* Added single-order and bulk actions for marking orders packed or not packed.
* Added configurable hidden metadata rules for packing slips and confirmations.
* Improved multipage printing with repeated table headers and protected product rows.

= 0.1.7 =
* Removed pre-order notices from packing slip product metadata.
* Preserved variation attributes and other relevant item metadata.
* Kept pre-order information available on order confirmations.
* Added a filter for developers to adjust printed order item metadata.

= 0.1.6 =
* Added a Settings link to the plugin action links on the Plugins screen.
* Replaced the visible logo URL field with the WordPress Media Library selector.
* Added logo preview and remove controls.
* Preserved existing logo URLs as a backward-compatible fallback.

= 0.1.5 =
* Fixed the Close button after bulk printing.
* Close now returns to the previous order list when the print view uses the current browser tab.
* Printing from an individual order continues to close its separate print tab.

= 0.1.4 =
* Routed bulk printing through the plugin's registered WD Online settings page.
* Removed the hidden WooCommerce page route that could be rejected by some admin menu configurations.
* Kept print rendering early enough to prevent WordPress administration markup from entering the document.

= 0.1.3 =
* Fixed the WordPress permission error when opening the bulk print screen.
* Registered the secure print route as a hidden WooCommerce administration page.
* Kept the print route out of the visible WooCommerce menu.

= 0.1.2 =
* Fixed blank output when printing multiple orders from WooCommerce bulk actions.
* Replaced the reserved admin-post action URL with a dedicated secure admin route.
* Registered and enqueued the print stylesheet according to WordPress requirements.
* Removed the discouraged manual translation loader; WordPress loads translations automatically.
* Updated the WordPress tested version header.

= 0.1.1 =
* Added a translation template and explicit Loco Translate support.
* Moved the settings page into the shared WD Online admin menu.
* Removed the document footer text setting and output.
* Suppressed browser-generated print headers and footers where supported.
* Confirmed bulk actions for both classic orders and HPOS order screens.
* Added optional WooCommerce GTIN, UPC, EAN or ISBN output with variation fallback.

= 0.1.0 =
* Initial development release.
* Added order confirmations and packing slips.
* Added single-order and bulk print actions.
* Added configurable document content and company details.
* Added HPOS compatibility declaration.
* Added optional WD Online Support Diagnostics integration.

== Privacy ==

The plugin does not send order data, personal information, telemetry or diagnostics to external servers.
