Export Additional Order Meta Data from WooCommerce.

For exporting additional metadata for the orders using Order Export Import Plugin for WooCommerce below code snippet can be used in the child theme’s functions.php

Please refer this updated article if you have Order Export Import Plugin version greater than 1.1.0. Below article is only relevant for prior versions.

In this example, we are adding 3 extra fields shown below with export CSV as shown in the code snippet.

‘pdf_invoice_num’ => ‘_invoice_number_display’,
‘Payer PayPal address’ => ‘Payer PayPal address’,
‘PayPal Transaction Fee’ => ‘PayPal Transaction Fee’

  • Was this article helpful?
  • YesNo

Comments (3)

  1. chris
  2. chris

Leave a Reply

Your email address will not be published. Required fields are marked *