Your IP : 18.190.25.139


Current Path : /home/bitrix/ext_www/home-comfort.in.ua/_optima/search-b2b/
Upload File :
Current File : /home/bitrix/ext_www/home-comfort.in.ua/_optima/search-b2b/index.php

<?
require($_SERVER["DOCUMENT_ROOT"]."/bitrix/header.php");
$APPLICATION->SetTitle("Поиск списком");
?>

<?
$IBLOCK_ID = "19";
if(\Bitrix\Main\Loader::IncludeModule("catalog")) {
	$arCat = CCatalog::GetByID($IBLOCK_ID);
	if ($arCat['OFFERS_IBLOCK_ID']) {
		$IBLOCK_ID = $arCat['OFFERS_IBLOCK_ID'];
	}
}
?>

<?$APPLICATION->IncludeComponent(
	"webprofy:search.b2b",
	".default",
	array(
		"DEFAULT_SORT" => "rank",
		"FORM_COMPONENT_TEMPLATE" => ".default",
		"RESULT_COMPONENT_TEMPLATE" => ".default",
		"FILTER_NAME" => "",
		"IBLOCK_TYPE" => "optima",
		"IBLOCK_ID" => $IBLOCK_ID,
		"CACHE_TIME" => "3600",
		"CACHE_TYPE" => "N",

		"WP_SHOW_PROPERTY_CODE" => array(
			1 => "ARTNUMBER",
			2 => "COLOR_REF",
			3 => "SIZES_SHOES",
			4 => "SIZES_CLOTHES"
		),
		"WP_TABLE_PROPERTY_CODE" => array(
			0 => "ARTNUMBER"
		),
		"WP_CART_SYNC" => "Y",
		"WP_SHOW_RELEVANT" => "N"
	),
	false
);?>

<?require($_SERVER["DOCUMENT_ROOT"]."/bitrix/footer.php");?>