mirror of
https://github.com/retailcrm/opencart-module.git
synced 2024-11-22 13:16:07 +03:00
Fix externalId (#30)
This commit is contained in:
parent
5bc88cc118
commit
d75366274a
@ -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'],
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<Files *.*>
|
<Files *.*>
|
||||||
Order Allow, Deny
|
|
||||||
Allow from all
|
Allow from all
|
||||||
|
Satisfy any
|
||||||
</Files>
|
</Files>
|
Loading…
Reference in New Issue
Block a user