Skip to content

Instantly share code, notes, and snippets.

@marvell
marvell / gist:8330935
Created January 9, 2014 08:07
Bitrix: получение оптимальной цены (с учетом скидок) #snippet
<?php
global $USER;
$price = CCatalogProduct::GetOptimalPrice($itemId, $quantity, $USER->GetUserGroupArray());