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
Parameter | Description | Version |
---|---|---|
$productId | Product ID. | |
$quantity | Product quantity. | |
$siteId | Site ID. |
Exceptions
Example
© «Bitrix24», 2001-2024