C
C
cyberlain2021-04-08 16:12:52
1C-Bitrix
cyberlain, 2021-04-08 16:12:52

How to limit the number of displayed slides in a slider?

There is a slider with recommended products on the main page.

<?$APPLICATION->IncludeComponent(
  "ova.market:catalog.bestsellers", 
  ".default", 
  array(
    "ACTION_VARIABLE" => "action",
    "ADD_PROPERTIES_TO_BASKET" => "Y",
    "BASKET_URL" => "/personal/basket.php",
    "BESTSELLER_IBLOCK_ID" => "26",
    "BESTSELLER_IBLOCK_TYPE" => "content",
    "BXREADY_ELEMENT_DRAW" => "system#ecommerce.v2.lite",
    "BXREADY_LIST_BOOTSTRAP_GRID_STYLE" => "12",
    "BXREADY_LIST_HIDE_MOBILE_SLIDER_ARROWS" => "Y",
    "BXREADY_LIST_HIDE_MOBILE_SLIDER_AUTOSCROLL" => "N",
    "BXREADY_LIST_HIDE_MOBILE_SLIDER_SCROLLSPEED" => "2000",
    "BXREADY_LIST_HIDE_SLIDER_ARROWS" => "N",
    "BXREADY_LIST_LG_CNT" => "3",
    "BXREADY_LIST_MD_CNT" => "3",
    "BXREADY_LIST_PAGE_BLOCK_TITLE" => "Наши рекомендации",
    "BXREADY_LIST_PAGE_BLOCK_TITLE_GLYPHICON" => "",
    "BXREADY_LIST_SLIDER" => "Y",
    "BXREADY_LIST_SLIDER_MARKERS" => "Y",
    "BXREADY_LIST_SM_CNT" => "4",
    "BXREADY_LIST_VERTICAL_SLIDER_MODE" => "Y",
    "BXREADY_LIST_XS_CNT" => "6",
    "CACHE_FILTER" => "N",
    "CACHE_GROUPS" => "Y",
    "CACHE_TIME" => "36000000",
    "CACHE_TYPE" => "N",
    "COMPONENT_TEMPLATE" => ".default",
    "CONVERT_CURRENCY" => "Y",
    "DISPLAY_BOTTOM_PAGER" => "Y",
    "DISPLAY_TOP_PAGER" => "N",
    "ELEMENT_SORT_FIELD" => "sort",
    "ELEMENT_SORT_FIELD2" => "id",
    "ELEMENT_SORT_ORDER" => "asc",
    "ELEMENT_SORT_ORDER2" => "desc",
    "FILTER_NAME" => "arrFilter",
    "HIDE_NOT_AVAILABLE" => "N",
    "IBLOCK_ID" => "24",
    "IBLOCK_TYPE" => "catalog",
    "INCLUDE_SUBSECTIONS" => "Y",
    "OFFERS_CART_PROPERTIES" => "",
    "OFFERS_LIMIT" => "5",
    "OFFERS_PROPERTY_CODE" => array(
    ),
    "OFFERS_SORT_FIELD" => "sort",
    "OFFERS_SORT_FIELD2" => "id",
    "OFFERS_SORT_ORDER" => "asc",
    "OFFERS_SORT_ORDER2" => "desc",
    "PAGER_DESC_NUMBERING" => "N",
    "PAGER_DESC_NUMBERING_CACHE_TIME" => "36000",
    "PAGER_SHOW_ALL" => "N",
    "PAGER_SHOW_ALWAYS" => "N",
    "PAGER_TEMPLATE" => ".default",
    "PAGER_TITLE" => "Товары",
    "PAGE_ELEMENT_COUNT" => "30",
    "PARTIAL_PRODUCT_PROPERTIES" => "N",
    "PRICE_CODE" => array(
      0 => "BASE",
    ),
    "PRICE_VAT_INCLUDE" => "Y",
    "PRODUCT_ID_VARIABLE" => "id",
    "PRODUCT_PROPERTIES" => array(
      0 => "NEWPRODUCT",
      1 => "SALELEADER",
    ),
    "PRODUCT_PROPS_VARIABLE" => "prop",
    "PRODUCT_QUANTITY_VARIABLE" => "",
    "SHOW_ALL_WO_SECTION" => "Y",
    "SHOW_PRICE_COUNT" => "1",
    "USE_PRICE_COUNT" => "N",
    "USE_PRODUCT_QUANTITY" => "N",
    "COMPOSITE_FRAME_MODE" => "A",
    "COMPOSITE_FRAME_TYPE" => "AUTO",
    "CURRENCY_ID" => "RUB"
  ),
  false,
  array(
    "ACTIVE_COMPONENT" => "N"
  )
);?>


now more than 60 pieces are being displayed there en masse. Tell me what parameter can limit this amount and where to look for the name of this parameter?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question