• Модуль: catalog
  • Путь к файлу: ~/bitrix/modules/catalog/lib/controller/product.php
  • Класс: BitrixCatalogControllerProduct
  • Вызов: Product::getProductIblockId
static function getProductIblockId(int $productId): ?int
{
	$iblockId = CIBlockElement::GetIBlockByID($productId);

	return
		$iblockId === false
			? null
			: $iblockId
	;
}