1
0
mirror of synced 2024-11-25 14:56:09 +03:00

fix the error with the product offers

This commit is contained in:
DmitreyZl 2021-11-16 12:56:59 +03:00 committed by GitHub
parent 5f69051859
commit 3c63631b49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;
}