Documentation

roundPrice

array public static
\Bitrix\Catalog\Discount\DiscountManager::roundPrice(
 array $basketItem,
 array $roundData = array()
);

Method round soff prodcut item price in shopping cart. Static method.

Parameters

ParameterDescriptionVersion
$basketItemArray of product position data in shopping cart.
$roundDataArray of rounding off data.

Example



© «Bitrix24», 2001-2024
Up