issues #78 в событии retailCrmAfterOrderSave добавлен externalId заказа
This commit is contained in:
parent
bdc764e492
commit
f0aeabe505
@ -823,6 +823,7 @@ class RetailCrmHistory
|
||||
}
|
||||
|
||||
if (!$order['externalId']) {
|
||||
$order["externalId"] = $newOrder->getId();
|
||||
if (RCrmActions::apiMethod($api, 'ordersFixExternalIds', __METHOD__, array(array('id' => $order['id'], 'externalId' => $newOrder->getId()))) == false){
|
||||
continue;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user