If you are a WooCommerce store owner, you would have noticed that the normal invoice templates don’t include all the necessary information about your products and orders. This is because the product and order-related information can be domain specific. For example, the product data pertaining to a shoe seller might not the same as that of a grocery seller.
Adding order/product metadata to your invoices can help your customers better understand their purchases and enhance your business’s overall professionalism.
Fortunately, adding order/product metadata to your WooCommerce invoice is easy with the help of a WebToffee plugin. In this blog post, we’ll guide you through the steps needed to customize your invoices and add metadata to them.
Let’s walk through the steps required to append order/product metadata in the WooCommerce invoice.
Add order meta in the WooCommerce invoice for free
Metadata regarding your WooCommerce orders can be added to the invoices with the help of the free WooCommerce PDF invoice plugin. You will, however, have to use the premium version of the same WooCommerce PDF invoice plugin to add product metadata.
Let’s first look at adding order meta to invoices,
- Install the PDF Invoice/Packing plugin for WooCommerce on your site.
- Go to WooCommerce > Invoice/ Packing > Invoice from the WordPress dashboard.
- Move on to the Invoice details under the General tab. You can add it under the Order meta fields.
- Once the data is added, update the settings.
Additional order information can be appended to the invoice via the order meta fields.
Order meta fields already available in the plugin: Select a required item from the Order meta field drop-down. The list of default order metadata populated in the drop-down is shown below:
Additional Order Meta Fields: To add other custom order meta details (probably from another third-party plugin) other than the ones displayed in the drop-down, click on Add/Edit Order Meta Field. Into the popup that appears, key in the custom Field Name and its corresponding Meta Key.
For example, to add a custom VAT number in the invoice populated from the plugin EU VAT Number for WooCommerce, you will have to key in an appropriate field name and its corresponding meta key in the checkout meta key fetcher pop-up as shown below:
The meta key for the VAT Number (_vat_number) can be obtained from the respective plugin’s documentation.
Sample invoice with VAT
The invoice with its order meta EU VAT Number will be as shown below:
You will need to use the premium version of the WooCommerce PDF invoice plugin to enjoy adding additional data as product meta in WooCommerce.
Note that to install and activate the premium plugin, the free plugin has to be installed and activated on your store.
Once you install and activated the plugin,
- Go to Invoice/Packing > Invoice > Advanced.
- From the Product meta fields, click the Add/Edit Product Meta button. Into the popup that appears, key in with the field name and the respective meta key.
- Click on the Save button.
A sample invoice with a product metadata weight will be as shown below:
From the product attribute, click the Add/Edit Product Attribute button. Into the popup that appears, key in with field name and the respective meta key. Then, click on Save button.
Conclusion
With this plugin, you can easily add custom products or order metadata from other third-party plugins into WoCommerce invoices. Hope you have understood how easy the plugin is to handle custom data.
Watch our other tutorials on the plugin to know more.