Answer the question
In order to leave comments, you need to log in
Bitrix how to display all products from the catalog?
I do a conclusion of all goods from the catalog.
I do it like this:
<?if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED !== true) die();
/** @var array $arParams */
/** @var array $arResult */
/** @global CMain $APPLICATION */
/** @global CUser $USER */
/** @global CDatabase $DB */
/** @var CBitrixComponentTemplate $this */
/** @var string $templateName */
/** @var string $templateFile */
/** @var string $templateFolder */
/** @var string $componentPath */
/** @var CBitrixComponent $component */
$this->setFrameMode(true);
$APPLICATION->IncludeComponent(
"bitrix:catalog.section.list",
"sections_list",
array(
"IBLOCK_ID" => 13,
"SECTION_ID" => 0,
"SHOW_ALL_WO_SECTION" => "Y",
),
$component
);
unset($basketAction);
Answer the question
In order to leave comments, you need to log in
bitrix:catalog.section.list - component for displaying catalog sections
To display products, you need to use the component - bitrix:catalog.section
https://dev.1c-bitrix.ru/user_help/components/cont...
you probably wanted to say all sections? Because catalog.section.list displays them, not products.
Bitrix:catalog.section is used to display products
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question