Hi, Ankit!
Could I just nag you a bit with help on setting up the customer billing address field?
I have this in the add_col function:
$cols['wc_settings_tab_customer_address'] = __( '<<what is the meta key here?>>', 'mytheme' );
I have this in the setttings tab function:
$settings['customer_address'] = array(
'name' => __( 'Customer Address', 'woocommerce-simply-order-export' ),
'type' => 'checkbox',
'desc' => __( 'Customer Address', 'woocommerce-simply-order-export' ),
'id' => 'wc_settings_tab_customer_address'
);
I have this in the csv_write function:
if( !empty( $fields['wc_settings_tab_customer_address'] ) && $fields['wc_settings_tab_customer_address'] === true ){
$customer_address = get_post_meta( $od->id, '<<what is the meta key here?>>', true );
array_push( $csv, $customer_address );
};
I’m wondering what the correct meta key is for the billing address?