• Модуль: catalog
  • Путь к файлу: ~/bitrix/modules/catalog/lib/discount/discountmanager.php
  • Класс: BitrixCatalogDiscountDiscountManager
  • Вызов: DiscountManager::getCachedProductProperty
static function getCachedProductProperty($productId, $propertyId)
{
	if(!isset(self::$productProperties[$productId]))
	{
		return null;
	}

	foreach(self::$productProperties[$productId] as $props)
	{
		if($props['ID'] == $propertyId)
		{
			return $props;
		}
	}

	return null;
}