M
M
Marty McFly2019-01-22 20:50:55
1C-Bitrix
Marty McFly, 2019-01-22 20:50:55

How to display products from several infoblocks using a filter in Bitrix?

Hello!
Tell me, please, how can I most easily display on the main list of goods by a certain property from 3 infoblocks?
I was looking for some ready-made component so that there would immediately be the name of the product, price, buy button and there was no need to redo anything, just stylize, correct the layout and that's it.
The first one I took was catalog.top, it displays everything perfectly as I need it, according to the filter I need, but that’s bad luck - as I understand it, you can’t display goods from several infoblocks there.
Then I came across a similar component store.catalog.top , inserted it, was delighted, displays products from several infoblocks, cheers, but not for long, this does not filter products only with the desired property.
Sorry, if I wrote a fierce stupidity, I'm just starting to learn what Bitrix is.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Artem, 2019-01-23
@pu6elozed

All (modern) standard components for displaying infoblock elements require you to specify the infoblock from which to select. As an option, put catalog.top into your own namespace and add your own filter to the CIBlockElement::GetList request in the component

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question