WebToffee’s PDF Invoice and Packing Slip plugin allow adding custom order/product metadata to WooCommerce documents.
Insert additional information pertaining to the delivery date, tracking, or payment info into the documents 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 an invoice
To add this metadata to your invoice, follow the steps below:
- Install PDF Invoices and Packing Slips plugin for WooCommerce on your store site.
- From WordPress dashboard, go to the Invoice/ Packing > Invoice.
- Click on the Advanced tab.
4. From the order meta field, click on the Add/Edit Order Meta Field button to add custom metadata. From the Add new tab, input a custom Field Name and the respective Meta Key.
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 the Previously added tab.