This commit is contained in:
iyzoer 2017-06-02 15:49:43 +03:00
parent 647d5e8427
commit b1f0835b9c

View File

@ -190,10 +190,12 @@ class ModelExtensionRetailcrmIcml extends Model
$e = $this->eOffers->appendChild($this->dd->createElement('offer'));
if(!empty($offerId)) {
$e->setAttribute('id', $product['product_id'].'#'.$offerId);
$e->setAttribute('productId', $product['product_id']);
$e->setAttribute('quantity', $optionsValues['qty']);
}
else {
$e->setAttribute('id', $product['product_id']);
$e->setAttribute('productId', $product['product_id']);
$e->setAttribute('quantity', $product['quantity']);
}
/**