Fix externalId (#30)

This commit is contained in:
iyzoer 2017-05-24 17:21:52 +03:00 committed by Alex Lushpai
parent 5bc88cc118
commit d75366274a
2 changed files with 4 additions and 2 deletions

View File

@ -148,7 +148,9 @@ class ModelExtensionRetailcrmOrder extends Model {
} }
$order['items'][] = array( $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'], 'productName' => $product['name'],
'initialPrice' => $product['price'], 'initialPrice' => $product['price'],
'quantity' => $product['quantity'], 'quantity' => $product['quantity'],

View File

@ -1,4 +1,4 @@
<Files *.*> <Files *.*>
Order Allow, Deny
Allow from all Allow from all
Satisfy any
</Files> </Files>