Home > Docs > WooCommerce PDF Invoices, Packing Slips and Credit Notes Plugin > Adding Order Meta to WooCommerce Invoices, Packing Slips and Credit Notes

Adding Order Meta to WooCommerce Invoices, Packing Slips and Credit Notes

Last updated on January 31, 2025

Order metadata contains additional details about an order that may not be included by default in WooCommerce documents. Adding custom order meta-fields to invoices, packing slips, and credit notes allows store owners to display information like delivery instructions, custom order notes, or payment method details on these documents. WebToffee’s WooCommerce PDF Invoices, Packing Slips, and Credit Notes plugin allows adding custom order metadata to WooCommerce invoices, packing slips, and credit notes. Let’s look at the steps for adding order meta:

  1. Access the Advanced settings page.
  2. Add a new order meta field.
  3. Save settings.

Prerequisite

  1. Install and activate the free WooCommerce PDF Invoices, Packing Slips, Delivery Notes, and Shipping Labels plugin.
  2. Then, install and activate the WooCommerce PDF Invoices, Packing Slips, and Credit Notes pro-add-on.

Add order meta – WooCommerce invoices and packing slips

Follow these steps to add an order meta field to WooCommerce invoices and packing slips:

Step 1: Access the Advanced settings page

  1. Navigate to Invoice/Packing > Invoice(or Packing slip) > Advanced from the WordPress dashboard.
  2. Head to the Order meta fields option.

Step 2: Add a new order meta field

  1. In the Order meta fields option, click on the Add/Edit order meta field button.
Add/Edit order meta field - WooCommerce invoice, packing slip
Add/Edit order meta field – WooCommerce invoice, packing slip
  1. Key in the Field Name and the Meta Key.
Field name and meta key - Order meta field
Field name and meta key – Order meta field
  1. Click on Save to add the order meta.
  1. Modify or delete existing order metadata from the Previously added tab.

Step 3: Save Settings

  1. Click on Update Settings to save changes.

Add order meta – WooCommerce credit notes

Follow these steps to add an order meta field to WooCommerce credit notes:

Step 1: Access the General settings page

  1. Head to Invoice/Packing > Credit Note > General.
  2. Scroll down to the Advanced section and find the Order meta fields option.
Order meta fields option - WooCommerce credit notes
Order meta fields option – WooCommerce credit notes

Step 2: Add a new order meta field

  1. Click on the Add/Edit order meta field button to add a new order meta.
  2. Key in the Field Name and the Meta Key for the field.
Order meta field added - WooCommerce credit note
Order meta field added – WooCommerce credit note
  1. Click on Save to add the order meta.
  2. Modify or delete existing order metadata from the Previously added tab.

Step 3: Save Settings

  1. Click on Update Settings to save changes.

Example

Let’s take the example of adding the Order Currency meta field to invoices, packing slips, and credit notes. To do this, enter an appropriate field name (Order Currency) along with its corresponding meta key (_order_currency) in the Order meta pop-up box, as shown below:

Adding order meta - WooCommerce invoice, packing slip and credit note
Adding order meta – WooCommerce invoice, packing slip, and credit note

The images below showcase how the order meta field appears in WooCommerce invoices, packing slips, and credit notes.