Answer the question
In order to leave comments, you need to log in
How to enable the display of inactive elements in Bitrix?
Products are displayed using bitrix:catalog.section with a smart filter bitrix:catalog.smart.filter. But only active elements are displayed, how to display inactive elements?
Here a similar question was asked, but the author did not receive an answer https://dev.1c-bitrix.ru/support/forum/forum6/topi...
Answer the question
In order to leave comments, you need to log in
\bitrix\components\bitrix\catalog.smart.filter\component.php
is hardcoded in this file
$arElementFilter = array(
"IBLOCK_ID" => $this->IBLOCK_ID,
"SUBSECTION" => $this->SECTION_ID,
"SECTION_SCOPE" => "IBLOCK",
"ACTIVE_DATE" => "Y",
"ACTIVE" => "Y",
"CHECK_PERMISSIONS" => "Y",
);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question