17if (!Loader::includeModule(
'sale'))
33 $fields[
"AVAILABLE_QUANTITY"] = 100000000;
40 $fields[
"AVAILABLE_QUANTITY"] =
'Y';
86 $basketItem =
$fields[
'BASKET_ITEM'];
87 $orderId = (int)$basketItem->getField(
'ORDER_ID');
88 $currency = $basketItem->getField(
'CURRENCY');
90 $propertyCollection = $basketItem->getPropertyCollection();
92 $item = $propertyCollection->getPropertyValues();
93 $sum = (float)($item[
'SUM_OF_CHARGE'][
'VALUE']) * (float)($basketItem->getQuantity());
96 $basket = $basketItem->getCollection();
97 $order = $basket->getOrder();
102 if ($resultUpdateUserAccount)
if(!is_object($USER)||! $USER->IsAuthorized()) $userId
static ReserveProduct($fields)
static GetProductData($fields)
static GetProductStores($fields)
static RecurringOrderProduct($fields)
static OrderProduct($fields)
static DeliverProduct($fields)
static GetStoresCount($arParams=array())
static CheckProductBarcode($fields)
static CancelProduct($fields)
static ViewProduct($fields)
static UpdateAccount($userID, $sum, $currency, $description="", $orderID=0, $notes="", $paymentId=null)
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
static DeductProduct($arFields)