@soydelia, @fernandot
You may use the below code snippet until it’s available in the default export, for exporting the newly introduced GTIN, UPC, EAN, or ISBN field. Add the code in the active theme functions.php
add_filter('woocommerce_product_export_row_data', 'woocommerce_product_export_row_data', 10, 3);
function woocommerce_product_export_row_data($row, $product, $exporter) {
$row['meta:__global_unique_id'] = get_post_meta($product->get_id(), '_global_unique_id', true);
return $row;
}
add_filter('woocommerce_product_export_column_names', 'woocommerce_product_export_column_names', 10, 2);
function woocommerce_product_export_column_names($column_names, $exporter) {
$column_names['meta:__global_unique_id'] = 'global_unique_id';
return $column_names;
}
I suggest you look into the?Import Export Suite for WooCommerce.
This extension offers a wide range of features related to the import and export of WooCommerce data.