Documentation

getProductsMap

array public static
\Bitrix\Iblock\Component\Base::getProductsMap(
 array $originalIds = array()
);

Method Returns array with keys retrieved from array data and with values as either product IDs (if SKU IDs are used as keys), or the product keys themselves (SKU_PRODUCT_ID => PRODUCT_ID). Static method.

Parameters

ParameterDescriptionVersion
$originalIdsOriginal array with iblock element IDs.

Example



© «Bitrix24», 2001-2024
Up