Documentation

getProductSkuMap

array public static
\Bitrix\Catalog\CatalogViewedProductTable::getProductSkuMap(
 integer $iblockId,
 integer $sectionId,
 integer $fuserId,
 integer $excludeProductId,
 integer $limit,
 integer $depth,
 string|null $siteId = null
);

Returns map as follows: product - SKU. Static method.

Parameters

ParameterDescriptionVersion
$iblockIdIblock ID.
$sectionIdSection ID.
$fuserIdBuyer ID.
$excludeProductIdProduct ID to be excluded from selection.
$limitMaximum number.
$depthNesting level.
$siteIdSite ID.

Example



© «Bitrix24», 2001-2024