Your IP : 13.58.16.208
<?
header('Access-Control-Allow-Origin: *');
header('Content-type: application/json');
require($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_before.php");
Bitrix\Main\Loader::includeModule('sale');
Bitrix\Main\Loader::includeModule('catalog');
$product_id = $_GET["id"];
$ar_res = CCatalogProduct::GetByIDEx($product_id);
//pre1($ar_res);
$res_cat = CIBlockSection::GetByID($ar_res["IBLOCK_SECTION_ID"]);
$ar_res_cat = $res_cat->GetNext();
//pre1($ar_res);
$ar_res["SECTION_DATA"] = $ar_res_cat;
echo json_encode($ar_res, JSON_UNESCAPED_UNICODE);
?>