Documentation

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

ParameterDescriptionVersion
$orderOrder ID.
$extendedModeWhen true, get full information about discounts.
$basketListArray with corresponding shopping cart IDs and codes.
$basketDataArray with shopping cart parameters.

Example



© «Bitrix24», 2001-2024
Up