Кол-во товара: (<?=count($arResult[‘ITEMS’])?>)
<?
foreach ($arResult[«ITEMS»] as $v){
$summ += round($v[«PRICE»]) * round($v[«QUANTITY»]);
}
?>
Сумма: <?=$summ;?>
как узнать кол-во товара и общую сумму в корзине битрикс?
https://linkedin.com/in/aposnov
Кол-во товара: (<?=count($arResult[‘ITEMS’])?>)
<?
foreach ($arResult[«ITEMS»] as $v){
$summ += round($v[«PRICE»]) * round($v[«QUANTITY»]);
}
?>
Сумма: <?=$summ;?>
Wow, superb blog format! How long have you been blogging
for? you made blogging glance easy. The overall look of your web site is magnificent, as well as the
content! You can see similar here e-commerce
Hi there it’s me, I am also visiting this site regularly, this web site is in fact
nice and the people are genuinely sharing good thoughts.
I saw similar here: Sklep internetowy