Add Custom Metadata Before the Line Item Columns

The code below can be used for including additional custom metadata before the line item columns in the CSV file using Order / Coupon / Subscription Import  Export Plugin for WooCommerce. All you need to is add the code in the function.php file of the active child theme and the change the parameters ‘RDI’ and ‘LDI’ with the custom field names that you need to export.

Leave a Reply

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