Get full delivery info on order create
This commit is contained in:
parent
6d95580155
commit
07735ed6d9
1 changed files with 4 additions and 0 deletions
|
@ -604,6 +604,10 @@ if ( ! class_exists( 'WC_Retailcrm_History' ) ) :
|
||||||
if (isset($crmOrder['company'])) {
|
if (isset($crmOrder['company'])) {
|
||||||
$order['company'] = $crmOrder['company'];
|
$order['company'] = $crmOrder['company'];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (isset($crmOrder['delivery'])) {
|
||||||
|
$order['delivery'] = $crmOrder['delivery'];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$customerId = isset($order['customer']['externalId']) ? $order['customer']['externalId'] : null;
|
$customerId = isset($order['customer']['externalId']) ? $order['customer']['externalId'] : null;
|
||||||
|
|
Loading…
Add table
Reference in a new issue