From 4f07b9a16bc4cf82bdb9863dc0f3f2a75fdc03d5 Mon Sep 17 00:00:00 2001 From: Kocmonavtik <61938582+Kocmonavtik@users.noreply.github.com> Date: Mon, 5 Feb 2024 10:53:22 +0300 Subject: [PATCH] ref #94088 (#336) --- CHANGELOG.md | 3 +++ intaro.retailcrm/description.ru | 2 +- intaro.retailcrm/install/version.php | 4 ++-- intaro.retailcrm/lib/icml/settingsservice.php | 12 ++---------- 4 files changed, 8 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 87b60a28..476dbc22 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## 2024-02-05 v.6.5.8 +- Удалена возможность выбора свойств с множественным выбором в настройках экспорта каталога + ## 2024-01-22 v.6.5.7 - Доработана передача данных интеграционных оплат в систему diff --git a/intaro.retailcrm/description.ru b/intaro.retailcrm/description.ru index 4cf87326..affbc00d 100644 --- a/intaro.retailcrm/description.ru +++ b/intaro.retailcrm/description.ru @@ -1 +1 @@ -- Доработана передача данных интеграционных оплат в систему +- Удалена возможность выбора свойств с множественным выбором в настройках экспорта каталога diff --git a/intaro.retailcrm/install/version.php b/intaro.retailcrm/install/version.php index ac3aa4b4..a76434bf 100644 --- a/intaro.retailcrm/install/version.php +++ b/intaro.retailcrm/install/version.php @@ -1,6 +1,6 @@ '6.5.7', - 'VERSION_DATE' => '2024-01-22 11:00:00' + 'VERSION' => '6.5.8', + 'VERSION_DATE' => '2024-02-05 17:00:00' ]; diff --git a/intaro.retailcrm/lib/icml/settingsservice.php b/intaro.retailcrm/lib/icml/settingsservice.php index b7b71edd..856ddfbb 100644 --- a/intaro.retailcrm/lib/icml/settingsservice.php +++ b/intaro.retailcrm/lib/icml/settingsservice.php @@ -573,13 +573,9 @@ class SettingsService $iblockOffer = CCatalogSKU::GetInfoByProductIBlock($iblockId); if ($iblockOffer !== false) { - $dbSkuProperties = CIBlock::GetProperties($iblockOffer['IBLOCK_ID'], []); + $dbSkuProperties = CIBlock::GetProperties($iblockOffer['IBLOCK_ID'], [], ['MULTIPLE' => 'N']); while ($prop = $dbSkuProperties->Fetch()) { - if ($prop['PROPERTY_TYPE'] === 'L' && $prop['MULTIPLE'] === 'Y') { - continue; - } - $propertiesSKU[] = $prop; } } @@ -631,13 +627,9 @@ class SettingsService { $propertiesProduct = null; - $iblockResult = CIBlock::GetProperties($iblockId, []); + $iblockResult = CIBlock::GetProperties($iblockId, [], ['MULTIPLE' => 'N']); while ($prop = $iblockResult->Fetch()) { - if ($prop['PROPERTY_TYPE'] === 'L' && $prop['MULTIPLE'] === 'Y') { - continue; - } - $propertiesProduct[] = $prop; }