Export Customer Roles and Additional Order Meta Data from WooCommerce

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

2 thoughts on “Export Customer Roles and Additional Order Meta Data from WooCommerce

  1. Randall
    Randall says:

    Is there a filter to do the reverse and import additional meta data that has been exported using this method to generate the csv file?

    • WebToffee
      Mark says:

      Hi,

      You can import any custom field data or metadata by keeping them in a column with name as below:
      meta:metafieldname

      You may specify the corresponding meta field name. If any further queries, please reach us via support.

Leave a Reply

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