R
R
Roman Goldman2022-02-16 16:35:33
1C-Bitrix
Roman Goldman, 2022-02-16 16:35:33

Bitrix how to display (sort) products on the catalog page by section sort index?

Hello! There is a website, on the page /catalog/ I display all the products. Products have different sections. How to initially sort products on the catalog page by section sorting index? So that first there are goods from the section whose sorting index is 1, then goods from the section whose sorting index is 2, and so on ... Is it possible?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Zemlyanoy, 2022-02-16
@Galamoon

I think it's possible.
In theory, it should work if you first pull out all the id sections sorted as you need and pass CIBlockElement::GetList to the filter, while specifying an empty array or null in sorting.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question