1
0
mirror of synced 2024-11-22 13:26:10 +03:00

issues #78 в событии retailCrmAfterOrderSave добавлен externalId заказа

This commit is contained in:
gorokh 2019-11-01 13:33:07 +03:00
parent bdc764e492
commit f0aeabe505

View File

@ -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;
}