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:
Alex Lushpai 2021-11-16 14:39:19 +03:00 committed by GitHub
commit 4cc3100c7c
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;
}