How to add order meta to WooCommerce invoices

WebToffee PDF Invoice and Packing Slip plugin allow to add custom order/product metadata to WooCommerce documents.

Insert additional information pertaining to the delivery date, tracking, or payment into the invoice by simply adding a custom meta key.

For instance, consider a scenario where you need to display a custom order field eh_stripe_intent_id in the invoice.

Order metadata on invoice

To add this metadata to your invoice, follow the steps below:

  1. Install PDF Invoices and Packing Slips plugin for WooCommerce on your store site.
  2. Go to the WooCommerce > Invoice/ Packing > Invoice
  3. Click on the Advanced tab.
This image has an empty alt attribute; its file name is pdf-invoice-advanced-1024x876.png

4. From the order meta field, click the Add/Edit Order Meta Field button to add custom metadata. From the Add new tab specify a custom Field Name and the respective Meta Key to add a new order meta.

In this case, we can key in Payment ID as the field name which will be displayed in the invoice. Input the custom field meta key taken from the WooCommerce orders page as it is.

You can modify or delete existing order metadata from Previously added tab.

Sample invoice with custom order metadata

  • Was this article helpful?
  • YesNo