Home > Docs > WooCommerce PDF Invoices, Packing Slips and Credit Notes Plugin > Display Product Meta in a New Column in WooCommerce Invoices

Display Product Meta in a New Column in WooCommerce Invoices

Last updated on April 12, 2024

Displaying product meta such as categories and weights in a new column can provide customers with more detailed information about the product, helping them make informed purchasing decisions. WebToffee’s WooCommerce PDF Invoices, Packing Slips, and Credit Notes plugin helps to display product metadata in a new column inside WooCommerce invoices and packing slips. By adding the custom code snippet provided, the plugin can display product meta in a new column.

Adding the custom code snippet

Add the custom code snippet below to the WordPress site. Either add it to the active child theme’s functions.php file or use a third-party code snippet plugin. To know more about how to add a custom code snippet using a third-party plugin, refer to this article.

In the custom code snippet replace the column name and product meta key with the desired column name and the desired meta key.

The WooCommerce invoice and packing slip with a new column ‘WEIGHT‘ in it will look like this:

WooCommerce Invoice with a new column
WooCommerce Invoice
WooCommerce Packing slip with a new column
WooCommerce Packing slip