From b1f0835b9cb398fa5864af37e3b25a2f08ec981b Mon Sep 17 00:00:00 2001 From: iyzoer Date: Fri, 2 Jun 2017 15:49:43 +0300 Subject: [PATCH] fix icml --- admin/model/extension/retailcrm/icml.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/admin/model/extension/retailcrm/icml.php b/admin/model/extension/retailcrm/icml.php index f3476bb..5535e3a 100644 --- a/admin/model/extension/retailcrm/icml.php +++ b/admin/model/extension/retailcrm/icml.php @@ -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']); } /**