Since 28th December 2022, this plugin version has been discontinued for purchase. However, support will be continued for existing users. Post the aforementioned date, users who purchase the plugin, which now is made available as multiple add-ons, must refer to their corresponding setup guides. The drag-and-drop customizer feature is now available for purchase as an add-on.

WooCommerce PDF Invoices, packing slips and credit notes plugin | WooCommerce Shipping labels, Dispatch labels and Delivery notes plugin | WooCommerce Address labels plugin | WooCommerce Picklists plugin | WooCommerce Proforma invoices plugin | Customizer for WooCommerce PDF Invoices

Since 28th December 2022, this plugin version has been discontinued for purchase. However, support will be continued for existing users.

Home > Docs > WooCommerce PDF Invoices, Packing Slips, Delivery Notes and Shipping Labels > How to sort items by category name and the product name in Packing List

How to sort items by category name and the product name in Packing List

Last updated on September 18, 2023

WebToffee’s Print Invoice, Packing Slip, Shipping Label and Delivery Note plugin allows you to print, download or email various documents relevant for your WooCommerce store. The plugin includes provisions to group the products by category, append variation data, include product/order meta data into the packing slip. Additionally, you may want to sort the items by category name and product name in your packing slip. This can be easily achieved by simply inserting the below given code snippet into the function.php of active child theme editor.

Sample packing slip with sorted category name and product name are as shown below:

Sample Packing Slip-Sorted by category and product