Answer the question
In order to leave comments, you need to log in
How to set up the output of the product after the search?
Good afternoon!
Tell me:
The site implements a search in the same way as on the online store of the 1C-Bitrix demo site, the search form is used - bitrix:search.title. When you enter the word Shoes or another product, there are shoes, when you click on the search button, only 2 pages are displayed on which there are about 60 products, although there are much more products with shoes, approximately 4,000, there are shoes: for women, children, men.
"TOP_COUNT" set to "6000" . Tell me what to configure so that the search would display in the search results all products by request?
Answer the question
In order to leave comments, you need to log in
The template components/bitrix/catalog.search
contains a component:
$arElements = $APPLICATION->IncludeComponent(
"bitrix:search.page",
".default",
Array(
"RESTART" => $arParams["RESTART"],
"NO_WORD_LOGIC" => $arParams["NO_WORD_LOGIC"],
"USE_LANGUAGE_GUESS" => $arParams["USE_LANGUAGE_GUESS"],
"CHECK_DATES" => $arParams["CHECK_DATES"],
"arrFILTER" => array("iblock_".$arParams["IBLOCK_TYPE"]),
"arrFILTER_iblock_".$arParams["IBLOCK_TYPE"] => array($arParams["IBLOCK_ID"]),
"USE_TITLE_RANK" => "N",
"DEFAULT_SORT" => "rank",
"FILTER_NAME" => "",
"SHOW_WHERE" => "N",
"arrWHERE" => array(),
"SHOW_WHEN" => "N",
"PAGE_RESULT_COUNT" => 50,
"DISPLAY_TOP_PAGER" => "N",
"DISPLAY_BOTTOM_PAGER" => "N",
"PAGER_TITLE" => "",
"PAGER_SHOW_ALWAYS" => "N",
"PAGER_TEMPLATE" => "N",
),
$component,
array('HIDE_ICONS' => 'Y')
);
PAGE_RESULT_COUNT
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question