By default, the Print Invoice and Packing Slip plugin for the WooCommerce plugin allows you to display metadata in pre-defined placeholders. At times, store owners may require custom placeholders for metadata. Simply insert the below-given code snippet into functions.php of the active child theme to have custom placeholders for WooCommerce labels.
In the code snippet above, you can replace the _meta_key_1, _meta_key_2 with the meta key of the actual meta in the post meta that you want to add to the labels. Also, make sure to copy the place holders in the template HTML code.
The invoice template code can be accessed from Invoice settings > Customize > Code tab as shown below:

Related articles:
- Was this article helpful?
- Yes, thanks!Not really
Comments (8)
James Edwards
October 22, 2021
How do you find the customer note? What’s the meta?
Mike
October 26, 2021
Hi James,
Thanks for reaching out. You can use the placeholder [wfte_customer_note] to your active template HTML to show the customer note.
Santiago Rocha
December 16, 2020
Hello, how can I add custom fields at product detail level? I need to replace the price with a pre calculated retail price in a meta custom field under products.
Mark
December 16, 2020
It would require some filters to do so. Please contact us via the support forum.
MUDIT
August 26, 2020
How can I copy the place holders in the template HTML code?
Mark
August 26, 2020
Go to whichever label settings that you want to add then open the Customize tab > Code menu.
Theo moulos
June 22, 2020
and if I want invoice and deliverynote?
Mark
June 22, 2020
Please update below line in code:
if($template_type=='invoice' || $template_type=='deliverynote' )