Пытаюсь добавить модуль поиска товаров по каталогу:
<?$APPLICATION->IncludeComponent(
"bitrix:catalog.search",
".default",
array(
"AJAX_MODE" => "N",
"IBLOCK_TYPE" => "catalog",
"IBLOCK_ID" => "12",
"ELEMENT_SORT_FIELD" => "name",
"ELEMENT_SORT_ORDER" => "desc",
"ELEMENT_SORT_FIELD2" => "id",
"ELEMENT_SORT_ORDER2" => "desc",
"SECTION_URL" => "",
"DETAIL_URL" => "",
"BASKET_URL" => "/personal/basket.php",
"ACTION_VARIABLE" => "action",
"PRODUCT_ID_VARIABLE" => "id",
"PRODUCT_QUANTITY_VARIABLE" => "quantity",
"PRODUCT_PROPS_VARIABLE" => "prop",
"SECTION_ID_VARIABLE" => "SECTION_ID",
"DISPLAY_COMPARE" => "Y",
"PAGE_ELEMENT_COUNT" => "30",
"LINE_ELEMENT_COUNT" => "3",
"PROPERTY_CODE" => array(
0 => "",
1 => "",
),
"OFFERS_FIELD_CODE" => array(
0 => "",
1 => "",
),
"OFFERS_PROPERTY_CODE" => array(
0 => "",
1 => "",
),
"OFFERS_SORT_FIELD" => "sort",
"OFFERS_SORT_ORDER" => "asc",
"OFFERS_SORT_FIELD2" => "id",
"OFFERS_SORT_ORDER2" => "desc",
"OFFERS_LIMIT" => "5",
"PRICE_CODE" => array(
0 => "BASE",
),
"USE_PRICE_COUNT" => "Y",
"SHOW_PRICE_COUNT" => "1",
"PRICE_VAT_INCLUDE" => "Y",
"USE_PRODUCT_QUANTITY" => "Y",
"CACHE_TYPE" => "A",
"CACHE_TIME" => "36000000",
"RESTART" => "Y",
"NO_WORD_LOGIC" => "Y",
"USE_LANGUAGE_GUESS" => "Y",
"CHECK_DATES" => "Y",
"DISPLAY_TOP_PAGER" => "Y",
"DISPLAY_BOTTOM_PAGER" => "Y",
"PAGER_TITLE" => "Товары",
"PAGER_SHOW_ALWAYS" => "Y",
"PAGER_TEMPLATE" => "show_more",
"PAGER_DESC_NUMBERING" => "Y",
"PAGER_DESC_NUMBERING_CACHE_TIME" => "36000",
"PAGER_SHOW_ALL" => "Y",
"HIDE_NOT_AVAILABLE" => "Y",
"CONVERT_CURRENCY" => "Y",
"CURRENCY_ID" => "RUB",
"OFFERS_CART_PROPERTIES" => array(
),
"AJAX_OPTION_JUMP" => "Y",
"AJAX_OPTION_STYLE" => "Y",
"AJAX_OPTION_HISTORY" => "Y",
"COMPONENT_TEMPLATE" => ".default",
"HIDE_NOT_AVAILABLE_OFFERS" => "Y",
"AJAX_OPTION_ADDITIONAL" => "",
"USE_TITLE_RANK" => "N",
"USE_SEARCH_RESULT_ORDER" => "N"
),
false
);?>
Форма поиска появляется, но при попытке поиска вылезает страница с ошибкой:
Cannot find 'flam' template with page 'search'
Не пойму какого шаблона и в какой папке не хватает?