fix offer externalId in admin model

This commit is contained in:
iyzoer 2017-05-23 09:53:08 +03:00
parent ac98d0fc0e
commit 07a04ecfca

View File

@ -148,7 +148,9 @@ class ModelExtensionRetailcrmOrder extends Model {
}
$order['items'][] = array(
'productId' => !empty($offerId) ? $product['product_id'].'#'.$offerId : $product['product_id'],
'offer' => array(
'externalId' => !empty($offerId) ? $product['product_id'].'#'.$offerId : $product['product_id']
),
'productName' => $product['name'],
'initialPrice' => $product['price'],
'quantity' => $product['quantity'],