Home > Docs > Order / Coupon / Subscription Export Import Plugin for WooCommerce > Export Customer Roles and Additional Order Meta Data from WooCommerce

Export Customer Roles and Additional Order Meta Data from WooCommerce

Last updated on August 14, 2023

The Order, Coupon, Subscription Export Import for WooCommerce plugin offers a convenient solution for effortlessly importing and exporting WooCommerce orders. However, to export the customer role and additional metadata of the orders, you need to paste the below code snippet in the functions.php file. Follow the below mentioned steps:

  • From the WordPress admin dashboard, navigate to Appearance > Theme File Editor.
  • Under Theme Files, select Theme Functions (functions.php).
  • Paste the code snippet at the end of the functions.php file of your active child theme.

Code snippet: