• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/basketbase.php
  • Класс: BitrixSaleBasketBase
  • Вызов: BasketBase::getExistsItemByItem
public function getExistsItemByItem(BasketItemBase $item)
{
	$propertyList = [];
	$propertyCollection = $item->getPropertyCollection();
	if ($propertyCollection)
	{
		$propertyList = $propertyCollection->getPropertyValues();
	}

	return $this->getExistsItem($item->getField('MODULE'), $item->getField('PRODUCT_ID'), $propertyList);
}