From 3c63631b49d39aa3764ca1bf466777dd75cc7113 Mon Sep 17 00:00:00 2001 From: DmitreyZl <70319100+DmitreyZl@users.noreply.github.com> Date: Tue, 16 Nov 2021 12:56:59 +0300 Subject: [PATCH] fix the error with the product offers --- intaro.retailcrm/lib/icml/icmldirector.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/intaro.retailcrm/lib/icml/icmldirector.php b/intaro.retailcrm/lib/icml/icmldirector.php index fe702980..9e8663b3 100644 --- a/intaro.retailcrm/lib/icml/icmldirector.php +++ b/intaro.retailcrm/lib/icml/icmldirector.php @@ -251,7 +251,7 @@ class IcmlDirector do { //Если каталог проиндексирован, у товара есть Тип и это простой товар, то просто записываем его - if ($product->productType = ProductTable::TYPE_PRODUCT) { + if ($product->productType == ProductTable::TYPE_PRODUCT) { $this->icmlWriter->writeOffers([$product]); break; }