getProductList
mixed CCatalogSKU::getProductList( array offerID, int iblockID = 0 )
Method returns products for estimate array from one or several iblocks. Static method.
Call parameters
Parameter | Description |
---|---|
offerID | Array with estimate IDs. |
iblockID | Estimate iblock ID. Defined only if all estimates are related to a single iblock. |
Returned value
On error (incorrect parameters) returns false, and on success - array with keys as estimate IDs and values - arrays with the following structure:
- ID - product ID;
- IBLOCK_ID - product iblock ID;
- OFFER_IBLOCK_ID - estimate iblock ID;
- SKU_PROPERTY_ID - ID for estimate to product binding property.
© «Bitrix24», 2001-2024