diff --git a/admin/model/extension/retailcrm/order.php b/admin/model/extension/retailcrm/order.php index 5edd1de..f3d3963 100644 --- a/admin/model/extension/retailcrm/order.php +++ b/admin/model/extension/retailcrm/order.php @@ -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'],