Answer the question
In order to leave comments, you need to log in
Why does the \Bitrix\Sale\Internals\BasketTable::getList() method return the 'BASE_PRICE' parameter equal to zero?
Actually, why does the \Bitrix\Sale\Internals\BasketTable::getList() method return the 'BASE_PRICE' parameter equal to zero? More precisely with the value "0.0000". Call example:
$result = \Bitrix\Sale\Internals\BasketTable::getList(
array (
'select' => array (
'BASE_PRICE',
'PRODUCT_ID',
'LID',
'ID'
),
'filter' => array (
'LID' => SITE_ID,
'FUSER_ID' => \CSaleBasket::GetBasketUserID(),
"ORDER_ID" => "NULL"
)
) );
while ( $BasketItem = $result->fetch() )
{
var_dump($BasketItem);
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question