loadResultFromDatabase
\Bitrix\Sale\Result public static \Bitrix\Sale\OrderDiscountManager::loadResultFromDatabase( integer $order, boolean $extendedMode = false, array $basketList = false, array $basketData = array() );
Method loads complete information on applied discounts, price rounding off and order settings, necessary for discount calculations. Static method.
Parameters
Parameter | Description | Version |
---|---|---|
$order | Order ID. | |
$extendedMode | When true, get full information about discounts. | |
$basketList | Array with corresponding shopping cart IDs and codes. | |
$basketData | Array with shopping cart parameters. |
Example
© «Bitrix24», 2001-2024