mirror of
https://github.com/retailcrm/opencart-module.git
synced 2025-03-30 11:40:11 +03:00
fix offer externalId in admin model
This commit is contained in:
parent
ac98d0fc0e
commit
07a04ecfca
1 changed files with 3 additions and 1 deletions
|
@ -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'],
|
||||
|
|
Loading…
Add table
Reference in a new issue