Documentation

getProductById

\Bitrix\Sale\TradingPlatform\array. public static
\Bitrix\Sale\TradingPlatform\Helper::getProductById(
 integer $productId,
 integer $quantity,
 string $siteId
);

Meth returns information about a product from catalog. Static method.

Parameters

ParameterDescriptionVersion
$productIdProduct ID.
$quantityProduct quantity.
$siteIdSite ID.

Exceptions

Example



© «Bitrix24», 2001-2024