1
0
Fork 0
mirror of synced 2025-04-18 16:41:02 +00:00

fix the error with the product offers

This commit is contained in:
DmitreyZl 2021-11-16 10:08:04 +03:00
parent 3333ae3dee
commit 2c1fea2341

View file

@ -251,7 +251,7 @@ class IcmlDirector
do {
//Если каталог проиндексирован, у товара есть Тип и это простой товар, то просто записываем его
if ($product->productType = ProductTable::TYPE_PRODUCT) {
if ($product->productType == ProductTable::TYPE_PRODUCT) {
$this->icmlWriter->writeOffers([$product]);
break;
}