Home > Docs > Add Product Meta to WooCommerce PDF Invoices

Add Product Meta to WooCommerce PDF Invoices

Last updated on August 12, 2024

Adding custom fields to WooCommerce invoices might seem like a lot of customization and editing work. But, WebToffee’s WooCommerce PDF Invoices, Packing slips, and Credit notes pro-add-on for WooCommerce makes the process a lot easier.

Let’s take a look at the steps for adding custom fields to WooCommerce invoices.

  1. Install the basic/ free plugin WooCommerce PDF Invoice, Packing Slips, Delivery Notes and Shipping labels (free)plugin.
  2. Then install the WooCommerce PDF Invoices, Packing slips, and Credit notes pro-add-on to your site.
  3. Go to WooCommerce > Invoice/ Packing > Invoice from the WordPress dashboard.
  4. Then navigate to Invoice > Advanced

Advanced settings

From the invoice settings window, move on to the Advanced tab. You can add: Product meta

Adding product meta 

From Product meta fields,

  1. Click the Add/Edit Product Meta button. 
  2. Into the popup that appears, key in with field name and the respective meta key
  3. Then, click on the Save button.

Use case

For example, the WooCommerce product meta for weight is ‘_weight’. Let us see how we can display it in our invoice. The image shows the attribute Weight in the Product data table of the Add new product page.

  • Insert the field name and meta key in the following manner:
  • A sample invoice with a product metadata Weight will be as shown below: