diff --git a/CHANGELOG.md b/CHANGELOG.md index 7973940d..c32d325b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## 2024-12-08 v6.5.39 +- Исправлена поломка заказов с промокодом Maxma при включенной передаче корзины в CRM + ## 2024-10-31 v6.5.38 - Исправлена выгрузка заказов через агент diff --git a/intaro.retailcrm/classes/general/cart/RetailCrmCart_v5.php b/intaro.retailcrm/classes/general/cart/RetailCrmCart_v5.php index 464b8afa..dbc61c90 100644 --- a/intaro.retailcrm/classes/general/cart/RetailCrmCart_v5.php +++ b/intaro.retailcrm/classes/general/cart/RetailCrmCart_v5.php @@ -144,7 +144,7 @@ class RetailCrmCart foreach ($items as $item) { - $itemFields = $item->getFields(); + $itemFields = $item->getFields()->getValues(); if (isset($basketItems[(int) $itemFields['ID']])) { $itemFields['PRICE'] = $basketItems[(int) $itemFields['ID']]['PRICE']; diff --git a/intaro.retailcrm/description.ru b/intaro.retailcrm/description.ru index 8435764c..6bbd2283 100644 --- a/intaro.retailcrm/description.ru +++ b/intaro.retailcrm/description.ru @@ -1 +1 @@ -- Исправлена выгрузка заказов через агент +- Исправлена поломка заказов с промокодом Maxma при включенной передаче корзины в CRM diff --git a/intaro.retailcrm/install/version.php b/intaro.retailcrm/install/version.php index 2d927742..70572257 100644 --- a/intaro.retailcrm/install/version.php +++ b/intaro.retailcrm/install/version.php @@ -1,6 +1,6 @@ '6.5.38', - 'VERSION_DATE' => '2024-10-31 15:00:00' + 'VERSION' => '6.5.39', + 'VERSION_DATE' => '2024-12-08 18:30:00' ]; diff --git a/intaro.retailcrm/lib/component/constants.php b/intaro.retailcrm/lib/component/constants.php index 5f4efb4a..5e706b51 100644 --- a/intaro.retailcrm/lib/component/constants.php +++ b/intaro.retailcrm/lib/component/constants.php @@ -18,7 +18,7 @@ namespace Intaro\RetailCrm\Component; */ class Constants { - public const MODULE_VERSION = '6.5.38'; + public const MODULE_VERSION = '6.5.39'; public const CRM_PURCHASE_PRICE_NULL = 'purchasePrice_null'; public const BITRIX_USER_ID_PREFIX = 'bitrixUserId-'; public const CRM_USERS_MAP = 'crm_users_map';