• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/discount/prediction/manager.php
  • Класс: BitrixSaleDiscountPredictionManager
  • Вызов: Manager::getSectionIdsByProduct
private function getSectionIdsByProduct(array $product)
{
	$sectionIds = array();
	foreach($this->extendProductIds(array($product['ID'])) as $productId)
	{
		$sectionIds = array_merge($sectionIds, $this->getSectionIdsByElement($productId));
	}

	return $this->extendSectionIds(array_unique($sectionIds));
}