S
S
Sinner32018-04-23 21:30:56
1C-Bitrix
Sinner3, 2018-04-23 21:30:56

How to set the number of personal recommendations in the catalog.bigdata.products component?

I use a complex catalog component, and I want to display personal recommendations with a slider, but I didn’t find the property that is responsible for the number of personal recommendations in catalog.bigdata.products?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan Ivanov, 2018-04-24
@ZZiliST

If you can not get to the component settings, then go to the file where the component call is placed. For example, for me it is called in the files /bitrix/templates/site template name/components/bitrix/catalog/component template name/ section_vertical.php or section_horizontal.php depending on what type of filter was selected (horizontal or vertical. There, when When the component is called, there is something like this structure:

$APPLICATION->IncludeComponent("bitrix:catalog.bigdata.products", "", array(
          
        ),
        $component,
        array("HIDE_ICONS" => "Y")
      );

so look for "LINE_ELEMENT_COUNT" there. For example, a record like this "LINE_ELEMENT_COUNT" => 5 will give you 5 elements per page.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question