mirror of
https://github.com/retailcrm/opencart-module.git
synced 2024-11-22 13:16:07 +03:00
fix icml
This commit is contained in:
parent
647d5e8427
commit
b1f0835b9c
@ -190,10 +190,12 @@ class ModelExtensionRetailcrmIcml extends Model
|
|||||||
$e = $this->eOffers->appendChild($this->dd->createElement('offer'));
|
$e = $this->eOffers->appendChild($this->dd->createElement('offer'));
|
||||||
if(!empty($offerId)) {
|
if(!empty($offerId)) {
|
||||||
$e->setAttribute('id', $product['product_id'].'#'.$offerId);
|
$e->setAttribute('id', $product['product_id'].'#'.$offerId);
|
||||||
|
$e->setAttribute('productId', $product['product_id']);
|
||||||
$e->setAttribute('quantity', $optionsValues['qty']);
|
$e->setAttribute('quantity', $optionsValues['qty']);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$e->setAttribute('id', $product['product_id']);
|
$e->setAttribute('id', $product['product_id']);
|
||||||
|
$e->setAttribute('productId', $product['product_id']);
|
||||||
$e->setAttribute('quantity', $product['quantity']);
|
$e->setAttribute('quantity', $product['quantity']);
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user