We sometimes create orders with the New order capability. It does not require shipping information in the order details. We save shipping information in a separate meta_date field called ‘shipping_zone’. We set that meta_data field on new orders.
You retrieve shipping zone through your Extractor get_shipping_zone
( $field == ‘shipping_zone’ ) {
$row[$field] = WC_Order_Export_Data_Extractor::get_shipping_zone($this->main_order);
WC_Order_Export_Data_Extractor::public static function get_shipping_zone( $order )
is one of the only that does not have a filter on the return. If you have a filter on the return, I can replace it with the meta_data shipping_zone
Open
Last updated: September 23, 2024
0 comments
Log in to comment on this feature request.