Documentation

getExistsItem

\Bitrix\Sale\BasketItemCollection::getExistsItem($moduleId, $productId, array $properties = array());

Method returns item from collection (or null). Non-static method.

Returns created element.

Parameters

ParameterDescriptionVersion
$moduleIdModule ID.
$productIdItem PRODUCT_ID.
$propertiesArray with properties. Empty array by default. Optional.

Example



© «Bitrix24», 2001-2024