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:
- Access the Advanced settings page.
- Add a new order meta field.
- Save settings.
Prerequisite
- Install and activate the free WooCommerce PDF Invoices, Packing Slips, Delivery Notes, and Shipping Labels plugin.
- 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
- Navigate to Invoice/Packing > Invoice(or Packing slip) > Advanced from the WordPress dashboard.
- Head to the Order meta fields option.
Step 2: Add a new order meta field
- In the Order meta fields option, click on the Add/Edit order meta field button.
- Key in the Field Name and the Meta Key.
- Click on Save to add the order meta.
- Modify or delete existing order metadata from the Previously added tab.
Step 3: Save Settings
- 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
- Head to Invoice/Packing > Credit Note > General.
- Scroll down to the Advanced section and find the Order meta fields option.
Step 2: Add a new order meta field
- Click on the Add/Edit order meta field button to add a new order meta.
- Key in the Field Name and the Meta Key for the field.
- Click on Save to add the order meta.
- Modify or delete existing order metadata from the Previously added tab.
Step 3: Save Settings
- 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:
The images below showcase how the order meta field appears in WooCommerce invoices, packing slips, and credit notes.
Comments (2)
Drew
November 14, 2024
Hi, I’m using the free version of the plugin currently, and am contemplating upgrading to pro, though the free one which claims to allow a single meta inclusion doesn’t appear to work when downloading an invoice afterwards? I had followed the steps above to include order status as an additional field but nothing displays. I would like to ensure there are no compatibility or feature issues with the free version before upgrading to pro, any advice would be appreciated!
Sanjai Valsan
November 18, 2024
Hi Drew,
Thank you for reaching out!
Firstly, please note that order status is not an order meta in WooCommerce. The free version of the plugin allows adding one order meta to invoices, while the Pro version supports adding multiple order metas. Since order status is a core attribute of WooCommerce orders and not stored as meta data, it cannot be added directly using the free version’s meta inclusion feature.
However, it is possible to display order status on invoices with the help of a custom code snippet. For assistance with this or any further questions, we recommend reaching out to our customer support team, who will be happy to guide you.