M
M
mata2017-06-19 04:36:48
1C-Bitrix
mata, 2017-06-19 04:36:48

How to display the article in the list of goods in Bitrix?

CCatalogProduct::GetList does not display the article in the product list.
I have to use GetByIDEx($p["ID"])['PROPERTIES']['ARTNUMBER']['VALUE'] for each id I get,
but this is very slow
. Is there an alternative?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Oleg Mifle, 2017-06-19
@OlegMifle

You collect an array of product IDs, pass it to the CIblockElement::GetList() filter, grab the articles with one request, then stuff them into the necessary elements.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question