How to add Custom Export Column with img data(woocommerce)
-
Hi!
How to add Custom field with image data to Export Column Woocommerce
Custom field made by ACF(Advanced Custom Fields). Type of field – image.I create custom field and add to Woocommerce export.
function add_export_column( $mycolumns ) {
$mycolumns[‘mycustom_column’] = ‘myimg’;
return $mycolumns;
}
add_filter( ‘woocommerce_product_export_column_names’, ‘add_export_column’ );
add_filter( ‘woocommerce_product_export_product_default_columns’, ‘add_export_column’ );But my image data is not add to csv file. CSV created without img data.
How to add img data to csv file?Thanks!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘How to add Custom Export Column with img data(woocommerce)’ is closed to new replies.