The Visser Labs team is growing with a newborn baby; a healthy girl named Eva! Use coupon: babybaby-20 for 20% off all Plugins.
Support is limited until Michael gets some sleep! :)

Adding custom Order Item fields to the Order export type

This code snippet builds on Adding static Order Item fields to the Orders export type, now we will add a dynamic custom Order Item field to the Order export type. The custom Order Item meta that we want to export is saved against the Order Item with a meta name of “departure_date”. You can use Store Toolkit for WooCommerce to easily expose custom Order and Order Item meta assigned to Orders.

Note: You need to declare each of the different Order Items Formatting rules with the “unique” Order Items Formatting rule being the most complex, if you don’t use the “unique” rule then it can be ignored for simplicity.

View Code
This entry was posted in . Bookmark the permalink.

Leave a Comment

Before you comment - Do you have a support request? If so, this is not the right place to post it. Please submit support requests for Premium Plugins on the Support page and in the community Support Forums for free Plugins.

Your email address will not be published.