roundBasket
array public static \Bitrix\Catalog\Discount\DiscountManager::roundBasket( array $basket, array $basketRoundData = array(), array $orderData );
Static method rounds off prices in shopping cart and returns prices array.
Parameters
Parameter | Description | Version |
---|---|---|
$basket | Shopping cart data. | |
$basketRoundData | Array with rounding off rules. | |
$orderData | Array with sorting data.. |
Example
© «Bitrix24», 2001-2024
Up