$count); CSaleBasket::Update($pos_id, $arFields); } } $a = Order::GetCart(); echo \Bitrix\Main\Web\Json::encode($a);