Replies: 0
Hi,
Before Update i used
// add new field “Address Combined and Name”
add_filter(‘woe_get_order_fields’, function ($fields) {
$fields[‘shipping_comnbined_address2’] = array(‘segment’=>’shipping’,’label’=>’Shipping Address Combined2′,’colname’=>’Shipping Address Combined2′,’value’=>”,’checked’=>1);
return $fields;
}, 10, 1);
add_filter(‘woe_get_order_value_shipping_comnbined_address2’, function ($value, $order, $item, $product) {
return $order->billing_first_name .” “.$order->billing_last_name .”, “.$order->billing_address_1
.$order->billing_address_2 . “, ” .$order->billing_postcode.” “. $order->billing_city. “, ”
. $order->billing_state;
}, 10, 4);
This make a new data that i can use to take all information in one column, but now i cant use this, crash de plugin when i try export to Excel.
Pls can help me? thanks