Woocommerce and ACF export CSV
-
Hi,
I use Woocommerce and have custom fields made with ACF.
I would like to be able to export them to CSV with the Woocommerce exporter.I have found this code
and I have changed the last part to the following:
function add_export_data( $value, $product ) {
$value =get_field(‘custom_field’);
return $value;}
add_filter( ‘woocommerce_product_export_product_column_custom_field’, ‘add_export_data’, 10, 2 );But it’s not working.
Can somebody help me?Thanks in avance
Viendo 1 respuesta (de un total de 1)
Viendo 1 respuesta (de un total de 1)
- El debate ‘Woocommerce and ACF export CSV’ está cerrado a nuevas respuestas.