<?
...
кусок кода определяющий состав некоего массива $arCompareFieldsCode
в соответствии с пожеланиями заказчика
...
$APPLICATION->IncludeComponent("bitrix:catalog", ".default", array(
"IBLOCK_TYPE" => "Catalog",
"IBLOCK_ID" => "4",
"BASKET_URL" => "/Personals/Order_Basket",
"ACTION_VARIABLE" => "action",
"PRODUCT_ID_VARIABLE" => "id",
"SECTION_ID_VARIABLE" => "SECTION_ID",
"SEF_MODE" => "Y",
"SEF_FOLDER" => "/Assortiment/Products/",
"AJAX_MODE" => "Y",
"AJAX_OPTION_SHADOW" => "Y",
"AJAX_OPTION_JUMP" => "N",
"AJAX_OPTION_STYLE" => "Y",
"AJAX_OPTION_HISTORY" => "N",
"CACHE_TYPE" => "A",
"CACHE_TIME" => "3600",
"CACHE_FILTER" => "N",
"DISPLAY_PANEL" => "N",
"SET_TITLE" => "Y",
"USE_FILTER" => "N",
"USE_REVIEW" => "N",
"USE_COMPARE" => "Y",
"COMPARE_NAME" => "CATALOG_COMPARE_LIST",
"COMPARE_FIELD_CODE" => $arCompareFieldsCode,
....
далее обрезаю :)
|