Documentation

getProductsMap

array public static
\Bitrix\Catalog\CatalogViewedProductTable::getProductsMap(
 array $originalIds = array()
);

Returns list of product IDs in the following format: key - SKU ID, value - product ID. Static method.

Parameters

ParameterDescriptionVersion
$originalIdsArray of inputted product IDs.

Example



© «Bitrix24», 2001-2024
Up