• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/discountbase.php
  • Класс: BitrixSaleDiscountBase
  • Вызов: DiscountBase::getShowBasketItemPrice
private function getShowBasketItemPrice($basketCode, array $item)
{
	if ($this->isFreezedBasketItem($item))
	{
		if ($item['BASE_PRICE'] <= $item['PRICE'])
			$result = $this->getShowPriceWithZeroDiscountPercent($item);
		else
			$result = $this->getShowPriceWithDiscountPercent($item);
		return $result;
	}

	if ($item['BASE_PRICE'] <= $item['PRICE'])
		return $this->getShowPriceWithZeroDiscountPercent($item);

	if ($this->isExistBasketItemDiscount($basketCode))
		return $this->getShowPriceWithDiscountPercent($item);

	return $this->getShowPriceWithZeroDiscountPercent($item);
}