Get full delivery info on order create
This commit is contained in:
parent
6d95580155
commit
07735ed6d9
@ -604,6 +604,10 @@ if ( ! class_exists( 'WC_Retailcrm_History' ) ) :
|
||||
if (isset($crmOrder['company'])) {
|
||||
$order['company'] = $crmOrder['company'];
|
||||
}
|
||||
|
||||
if (isset($crmOrder['delivery'])) {
|
||||
$order['delivery'] = $crmOrder['delivery'];
|
||||
}
|
||||
}
|
||||
|
||||
$customerId = isset($order['customer']['externalId']) ? $order['customer']['externalId'] : null;
|
||||
|
Loading…
x
Reference in New Issue
Block a user