diff --git a/local/ilsa_update.php b/local/ilsa_update.php
index ef79316..8dfcc41 100644
--- a/local/ilsa_update.php
+++ b/local/ilsa_update.php
@@ -11,10 +11,6 @@ $_SERVER['DOCUMENT_ROOT'] = dirname(__DIR__, 1);
require_once($_SERVER['DOCUMENT_ROOT'].'/bitrix/modules/main/include/prolog_before.php');
CModule::IncludeModule('iblock');
-print "\n\n";
-print $_SERVER['DOCUMENT_ROOT'];
-print "\n\n";
-
$arrContextOptions = [
"ssl" => [
"verify_peer"=>false,
@@ -427,7 +423,7 @@ foreach($json AS $car)
//"ID"
$car_existed = null;
- $car_search_res = CIBlockElement::GetList( [], [ "IBLOCK_ID" => 1, "PROPERTY_UID" => $car['uid'] ], false, ["nPageSize" => 1], [] );
+ $car_search_res = CIBlockElement::GetList( [], [ "IBLOCK_ID" => IBLOCK_ID_CATALOG_CARS_NEW, "PROPERTY_UID" => $car['uid'] ], false, ["nPageSize" => 1], [] );
while($car_search_ob = $car_search_res->GetNextElement())
{
@@ -438,7 +434,7 @@ foreach($json AS $car)
if($car_existed !== null)
{
- CIBlockElement::SetPropertyValuesEx($model_existed['ID'], IBLOCK_ID_MODELS, array_merge($car_update_payload, $PROPERTY_VALUES), []);
+ CIBlockElement::SetPropertyValuesEx($car_existed['ID'], IBLOCK_ID_CATALOG_CARS_NEW, array_merge($car_update_payload, $PROPERTY_VALUES), []);
}
else
{
diff --git a/local/templates/.default/components/bitrix/menu/evolution/template.php b/local/templates/.default/components/bitrix/menu/evolution/template.php
index fcb87dc..682ee3c 100644
--- a/local/templates/.default/components/bitrix/menu/evolution/template.php
+++ b/local/templates/.default/components/bitrix/menu/evolution/template.php
@@ -14,9 +14,19 @@
-