$arResult["SET_ITEMS"]["DEFAULT"] = array(); $arResult["SET_ITEMS"]["OTHER"] = array(); $arResult["SET_ITEMS"]["PRICE"] = 0; $arResult["SET_ITEMS"]["OLD_PRICE"] = 0; $arResult["SET_ITEMS"]["PRICE_DISCOUNT_DIFFERENCE"] = 0; $arSetItemsRatio = array(); foreach ($arSetItemsID as $key=>$itemID) { $arSetItemsRatio[$itemID] = 1; } $rsRatios = CCatalogMeasureRatio::getList( array(), array('PRODUCT_ID' => $arSetItemsID), false, false, array('PRODUCT_ID', 'RATIO') ); while ($arRatio = $rsRatios->Fetch()) { if (in_array($arRatio['PRODUCT_ID'], $arSetItemsID)) { $intRatio = (int)$arRatio['RATIO']; $dblRatio = (float)($arRatio['RATIO']); $arSetItemsRatio[$arRatio['PRODUCT_ID']] = ($dblRatio > $intRatio ? $dblRatio : $intRatio); $arSetItemsRatio[$arRatio['PRODUCT_ID']] = ($arSetItemsRatio[$arRatio['PRODUCT_ID']] > 0) ? $arSetItemsRatio[$arRatio['PRODUCT_ID']] : 1; } } $arResult["ITEMS_RATIO"] = $arSetItemsRatio;
} if ($bGetProductProperties) { $arItem["PRODUCT_PROPERTIES"] = CIBlockPriceTools::GetProductProperties($arParams["IBLOCK_ID"], $arItem["ID"], $arParams["PRODUCT_PROPERTIES"], $arItem["PROPERTIES"]); if (!empty($arItem["PRODUCT_PROPERTIES"])) { $arItem['PRODUCT_PROPERTIES_FILL'] = CIBlockPriceTools::getFillProductProperties($arItem['PRODUCT_PROPERTIES']); } } } } if (isset($arItem)) { unset($arItem); } } if ($bIBlockCatalog) { if (!empty($arResult["ELEMENTS"])) { $rsRatios = CCatalogMeasureRatio::getList(array(), array('PRODUCT_ID' => $arResult["ELEMENTS"]), false, false, array('PRODUCT_ID', 'RATIO')); while ($arRatio = $rsRatios->Fetch()) { $arRatio['PRODUCT_ID'] = (int) $arRatio['PRODUCT_ID']; if (isset($arElementLink[$arRatio['PRODUCT_ID']])) { $intRatio = (int) $arRatio['RATIO']; $dblRatio = doubleval($arRatio['RATIO']); $mxRatio = $dblRatio > $intRatio ? $dblRatio : $intRatio; if (CATALOG_VALUE_EPSILON > abs($mxRatio)) { $mxRatio = 1; } elseif (0 > $mxRatio) { $mxRatio = 1; } $arElementLink[$arRatio['PRODUCT_ID']]['CATALOG_MEASURE_RATIO'] = $mxRatio; } } }
} ?> </td> </tr> <?php if (!empty($arAllMeasure)) { ?> <tr> <td width="40%"><?php echo GetMessage("C2IT_MEASURE_RATIO"); ?> :</td> <td width="60%"><?php $str_CAT_MEASURE_RATIO = 1; $CAT_MEASURE_RATIO_ID = 0; $db_CAT_MEASURE_RATIO = CCatalogMeasureRatio::getList(array(), array("PRODUCT_ID" => $PRODUCT_ID)); if ($ar_CAT_MEASURE_RATIO = $db_CAT_MEASURE_RATIO->Fetch()) { $str_CAT_MEASURE_RATIO = $ar_CAT_MEASURE_RATIO["RATIO"]; $CAT_MEASURE_RATIO_ID = $ar_CAT_MEASURE_RATIO["ID"]; } if ($bVarsFromForm) { $str_CAT_MEASURE_RATIO = $CAT_MEASURE_RATIO; } ?> <input type="text" <?php if ($bReadOnly || $productIsSet) { echo "disabled readonly"; } ?> id="CAT_MEASURE_RATIO" name="CAT_MEASURE_RATIO" value="<?php echo htmlspecialcharsbx($str_CAT_MEASURE_RATIO);
} if ($arCatalog["SUBSCRIPTION"] == "Y") { $arFields["PRICE_TYPE"] = $CAT_PRICE_TYPE; $arFields["RECUR_SCHEME_TYPE"] = $CAT_RECUR_SCHEME_TYPE; $arFields["RECUR_SCHEME_LENGTH"] = $CAT_RECUR_SCHEME_LENGTH; $arFields["TRIAL_PRICE_ID"] = $CAT_TRIAL_PRICE_ID; $arFields["WITHOUT_ORDER"] = $CAT_WITHOUT_ORDER; } CCatalogProduct::Add($arFields); $arMeasureRatio = array('PRODUCT_ID' => $PRODUCT_ID, 'RATIO' => $CAT_MEASURE_RATIO); $newRatio = true; $currentRatioID = 0; if (isset($_POST['CAT_MEASURE_RATIO_ID'])) { $currentRatioID = (int) $_POST['CAT_MEASURE_RATIO_ID']; if ($currentRatioID > 0) { $ratioIterator = CCatalogMeasureRatio::getList(array(), array('ID' => $currentRatioID, 'PRODUCT_ID' => $PRODUCT_ID), false, false, array('ID', 'PRODUCT_ID')); if ($currentRatio = $ratioIterator->Fetch()) { $newRatio = false; } unset($currentRatio, $ratioIterator); } } if ($newRatio) { CCatalogMeasureRatio::add($arMeasureRatio); } else { CCatalogMeasureRatio::update($currentRatioID, $arMeasureRatio); } unset($currentRatioID, $newRatio, $arMeasureRatio); $intCountBasePrice = count($arCatalogBasePrices); for ($i = 0; $i < $intCountBasePrice; $i++) { if (strlen($arCatalogBasePrices[$i]["PRICE"]) > 0) {
{ if ($showCatalogWithOffers || $arRows['E'.$intID]->arRes['CATALOG_TYPE'] != CCatalogProduct::TYPE_SKU) $arRows['E'.$intID]->AddViewField('CATALOG_MEASURE', $strMeasure); else $arRows['E'.$intID]->AddViewField('CATALOG_MEASURE', ' '); } } } } if (isset($arVisibleColumnsMap['CATALOG_MEASURE_RATIO'])) { $arRatioList = array(); $rsRatios = CCatalogMeasureRatio::getList( array(), array('@PRODUCT_ID' => $arElemID), false, false, array('ID', 'PRODUCT_ID', 'RATIO') ); while ($arRatio = $rsRatios->Fetch()) { $arRatio['PRODUCT_ID'] = (int)$arRatio['PRODUCT_ID']; $arRatioList[$arRatio['PRODUCT_ID']] = $arRatio['RATIO']; } if (!empty($arRatioList)) { foreach ($arElemID as &$intOneElemID) { $arRows['E'.$intOneElemID]->arRes['CATALOG_MEASURE_RATIO'] = (isset($arRatioList[$intOneElemID]) ? $arRatioList[$intOneElemID] : 1); if ($showCatalogWithOffers || $arRows['E'.$intOneElemID]->arRes['CATALOG_TYPE'] != CCatalogProduct::TYPE_SKU) {
function getRatio($arBasketItems) { if (Loader::includeModule('catalog')) { $map = array(); $arElementId = array(); foreach ($arBasketItems as $key => $arItem) { $arElementId[$arItem["PRODUCT_ID"]] = $arItem["PRODUCT_ID"]; if (!isset($map[$arItem["PRODUCT_ID"]])) { $map[$arItem["PRODUCT_ID"]] = array(); } $map[$arItem["PRODUCT_ID"]][] = $key; } if (!empty($arElementId)) { $dbRatio = CCatalogMeasureRatio::getList(array(), array('PRODUCT_ID' => $arElementId), false, false, array('PRODUCT_ID', 'RATIO')); while ($arRatio = $dbRatio->Fetch()) { if (empty($map[$arRatio["PRODUCT_ID"]])) { continue; } foreach ($map[$arRatio["PRODUCT_ID"]] as $key) { $arBasketItems[$key]["MEASURE_RATIO"] = $arRatio["RATIO"]; } } } unset($arElementId, $map); } return $arBasketItems; }
$strError = "Не все модификаторы товара, добавляемые в корзину, заполнены"; $successfulAdd = false; } } if (isset($_REQUEST[$arParams["PRODUCT_QUANTITY_VARIABLE"]])) { $QUANTITY = doubleval($_REQUEST[$arParams["PRODUCT_QUANTITY_VARIABLE"]]); } if (!$QUANTITY) { $rsRatios = CCatalogMeasureRatio::getList( array(), array('PRODUCT_ID' => $productID), false, false, array('PRODUCT_ID', 'RATIO') ); if ($arRatio = $rsRatios->Fetch()) { $intRatio = (int) $arRatio['RATIO']; $dblRatio = doubleval($arRatio['RATIO']); $QUANTITY = ($dblRatio > $intRatio ? $dblRatio : $intRatio); } } if (!$QUANTITY) { $QUANTITY = 1; }
public static function GetOffersArray($arFilter, $arElementID, $arOrder, $arSelectFields, $arSelectProperties, $limit, $arPrices, $vat_include, $arCurrencyParams = array(), $USER_ID = 0, $LID = SITE_ID) { $arResult = array(); $boolCheckPermissions = false; $boolHideNotAvailable = false; $IBLOCK_ID = 0; if (!empty($arFilter) && is_array($arFilter)) { if (isset($arFilter['IBLOCK_ID'])) $IBLOCK_ID = $arFilter['IBLOCK_ID']; if (isset($arFilter['HIDE_NOT_AVAILABLE'])) $boolHideNotAvailable = 'Y' === $arFilter['HIDE_NOT_AVAILABLE']; if (isset($arFilter['CHECK_PERMISSIONS'])) $boolCheckPermissions = 'Y' === $arFilter['CHECK_PERMISSIONS']; } else { $IBLOCK_ID = $arFilter; } $arOffersIBlock = CIBlockPriceTools::GetOffersIBlock($IBLOCK_ID); if($arOffersIBlock) { $arDefaultMeasure = CCatalogMeasure::getDefaultMeasure(true, true); $limit = intval($limit); if (0 > $limit) $limit = 0; if(!isset($arOrder["ID"])) $arOrder["ID"] = "DESC"; $intOfferIBlockID = $arOffersIBlock["OFFERS_IBLOCK_ID"]; $arFilter = array( "IBLOCK_ID" => $intOfferIBlockID, "PROPERTY_".$arOffersIBlock["OFFERS_PROPERTY_ID"] => $arElementID, "ACTIVE" => "Y", "ACTIVE_DATE" => "Y", ); if ($boolHideNotAvailable) $arFilter['CATALOG_AVAILABLE'] = 'Y'; if ($boolCheckPermissions) { $arFilter['CHECK_PERMISSIONS'] = "Y"; $arFilter['MIN_PERMISSION'] = "R"; } $arSelect = array( "ID" => 1, "IBLOCK_ID" => 1, "PROPERTY_".$arOffersIBlock["OFFERS_PROPERTY_ID"] => 1, "CATALOG_QUANTITY" => 1 ); //if(!$arParams["USE_PRICE_COUNT"]) { foreach($arPrices as $value) { if (!$value['CAN_VIEW'] && !$value['CAN_BUY']) continue; $arSelect[$value["SELECT"]] = 1; } } foreach($arSelectFields as $code) $arSelect[$code] = 1; //mark to select if (!isset($arSelect['PREVIEW_PICTURE'])) $arSelect['PREVIEW_PICTURE'] = 1; if (!isset($arSelect['DETAIL_PICTURE'])) $arSelect['DETAIL_PICTURE'] = 1; $arOfferIDs = array(); $arMeasureMap = array(); $intKey = 0; $arOffersPerElement = array(); $arOffersLink = array(); $rsOffers = CIBlockElement::GetList($arOrder, $arFilter, false, false, array_keys($arSelect)); while($arOffer = $rsOffers->GetNext()) { $arOffer['ID'] = intval($arOffer['ID']); $element_id = $arOffer["PROPERTY_".$arOffersIBlock["OFFERS_PROPERTY_ID"]."_VALUE"]; //No more than limit offers per element if($limit > 0) { $arOffersPerElement[$element_id]++; if($arOffersPerElement[$element_id] > $limit) continue; } if($element_id > 0) { $arOffer["LINK_ELEMENT_ID"] = intval($element_id); $arOffer["PROPERTIES"] = array(); $arOffer["DISPLAY_PROPERTIES"] = array(); $arOffer['CHECK_QUANTITY'] = ('Y' == $arOffer['CATALOG_QUANTITY_TRACE'] && 'N' == $arOffer['CATALOG_CAN_BUY_ZERO']); $arOffer['CATALOG_TYPE'] = CCatalogProduct::TYPE_OFFER; $arOffer['CATALOG_MEASURE_NAME'] = $arDefaultMeasure['SYMBOL_RUS']; $arOffer['~CATALOG_MEASURE_NAME'] = $arDefaultMeasure['SYMBOL_RUS']; $arOffer["CATALOG_MEASURE_RATIO"] = 1; if (!isset($arOffer['CATALOG_MEASURE'])) $arOffer['CATALOG_MEASURE'] = 0; $arOffer['CATALOG_MEASURE'] = intval($arOffer['CATALOG_MEASURE']); if (0 > $arOffer['CATALOG_MEASURE']) $arOffer['CATALOG_MEASURE'] = 0; if (0 < $arOffer['CATALOG_MEASURE']) { if (!isset($arMeasureMap[$arOffer['CATALOG_MEASURE']])) $arMeasureMap[$arOffer['CATALOG_MEASURE']] = array(); $arMeasureMap[$arOffer['CATALOG_MEASURE']][] = $intKey; } $arOfferIDs[] = $arOffer['ID']; $arResult[$intKey] = $arOffer; $arOffersLink[$arOffer['ID']] = &$arResult[$intKey]; $intKey++; } } if (!empty($arOfferIDs)) { $rsRatios = CCatalogMeasureRatio::getList( array(), array('PRODUCT_ID' => $arOfferIDs), false, false, array('PRODUCT_ID', 'RATIO') ); while ($arRatio = $rsRatios->Fetch()) { $arRatio['PRODUCT_ID'] = intval($arRatio['PRODUCT_ID']); if (isset($arOffersLink[$arRatio['PRODUCT_ID']])) { $intRatio = intval($arRatio['RATIO']); $dblRatio = doubleval($arRatio['RATIO']); $mxRatio = ($dblRatio > $intRatio ? $dblRatio : $intRatio); if (CATALOG_VALUE_EPSILON > abs($mxRatio)) $mxRatio = 1; elseif (0 > $mxRatio) $mxRatio = 1; $arOffersLink[$arRatio['PRODUCT_ID']]['CATALOG_MEASURE_RATIO'] = $mxRatio; } } if (!empty($arSelectProperties)) { CIBlockElement::GetPropertyValuesArray($arOffersLink, $intOfferIBlockID, $arFilter); foreach ($arResult as &$arOffer) { CCatalogDiscount::SetProductPropertiesCache($arOffer['ID'], $arOffer["PROPERTIES"]); foreach ($arSelectProperties as $pid) { if (!isset($arOffer["PROPERTIES"][$pid])) continue; $prop = &$arOffer["PROPERTIES"][$pid]; $boolArr = is_array($prop["VALUE"]); if( ($boolArr && !empty($prop["VALUE"])) || (!$boolArr && strlen($prop["VALUE"])>0)) { $arOffer["DISPLAY_PROPERTIES"][$pid] = CIBlockFormatProperties::GetDisplayValue($arOffer, $prop, "catalog_out"); } } if (isset($arOffer)) unset($arOffer); } } CCatalogDiscount::SetProductSectionsCache($arOfferIDs); CCatalogDiscount::SetDiscountProductCache($arOfferIDs, array('IBLOCK_ID' => $intOfferIBlockID, 'GET_BY_ID' => 'Y')); foreach ($arResult as &$arOffer) { $arOffer['CATALOG_QUANTITY'] = ( 0 < $arOffer['CATALOG_QUANTITY'] && is_float($arOffer['CATALOG_MEASURE_RATIO']) ? floatval($arOffer['CATALOG_QUANTITY']) : intval($arOffer['CATALOG_QUANTITY']) ); $arOffer['MIN_PRICE'] = false; $arOffer["PRICES"] = CIBlockPriceTools::GetItemPrices($arOffersIBlock["OFFERS_IBLOCK_ID"], $arPrices, $arOffer, $vat_include, $arCurrencyParams, $USER_ID, $LID); if (!empty($arOffer["PRICES"])) { foreach ($arOffer['PRICES'] as &$arOnePrice) { if ('Y' == $arOnePrice['MIN_PRICE']) { $arOffer['MIN_PRICE'] = $arOnePrice; break; } } unset($arOnePrice); } $arOffer["CAN_BUY"] = CIBlockPriceTools::CanBuy($arOffersIBlock["OFFERS_IBLOCK_ID"], $arPrices, $arOffer); } if (isset($arOffer)) unset($arOffer); } if (!empty($arMeasureMap)) { $rsMeasures = CCatalogMeasure::getList( array(), array('@ID' => array_keys($arMeasureMap)), false, false, array('ID', 'SYMBOL_RUS') ); while ($arMeasure = $rsMeasures->GetNext()) { $arMeasure['ID'] = intval($arMeasure['ID']); if (isset($arMeasureMap[$arMeasure['ID']]) && !empty($arMeasureMap[$arMeasure['ID']])) { foreach ($arMeasureMap[$arMeasure['ID']] as &$intOneKey) { $arResult[$intOneKey]['CATALOG_MEASURE_NAME'] = $arMeasure['SYMBOL_RUS']; $arResult[$intOneKey]['~CATALOG_MEASURE_NAME'] = $arMeasure['~SYMBOL_RUS']; } unset($intOneKey); } } } } return $arResult; }
/** * Sets measure for all viewed products. * @return void */ protected function setItemsMeasure() { if (!count($this->productIdsMap)) { return; } $measures = $this->data['MEASURE']; foreach ($this->items as &$item) { if (array_key_exists($item['CATALOG_MEASURE'], $measures)) { $measure = $measures[$item['CATALOG_MEASURE']]; $item['~CATALOG_MEASURE_NAME'] = LANGUAGE_ID == "ru" ? $measure["SYMBOL_RUS"] : $measure["SYMBOL_INTL"]; $item['CATALOG_MEASURE_NAME'] = String::htmlEncode($item['~CATALOG_MEASURE_NAME']); } } // Ratios $ratioIterator = CCatalogMeasureRatio::getList(array(), array('@PRODUCT_ID' => array_values($this->productIdsMap)), false, false, array('PRODUCT_ID', 'RATIO')); while ($ratio = $ratioIterator->fetch()) { if (isset($this->items[$ratio['PRODUCT_ID']])) { $intRatio = intval($ratio['RATIO']); $dblRatio = doubleval($ratio['RATIO']); $mxRatio = $dblRatio > $intRatio ? $dblRatio : $intRatio; if (CATALOG_VALUE_EPSILON > abs($mxRatio)) { $mxRatio = 1; } elseif (0 > $mxRatio) { $mxRatio = 1; } $this->items[$ratio['PRODUCT_ID']]['CATALOG_MEASURE_RATIO'] = $mxRatio; } } }
public static function GetOffersArray($arFilter, $arElementID, $arOrder, $arSelectFields, $arSelectProperties, $limit, $arPrices, $vat_include, $arCurrencyParams = array(), $USER_ID = 0, $LID = SITE_ID) { global $USER; $arResult = array(); $boolCheckPermissions = false; $boolHideNotAvailable = false; $showPriceCount = false; $IBLOCK_ID = 0; if (!empty($arFilter) && is_array($arFilter)) { if (isset($arFilter['IBLOCK_ID'])) { $IBLOCK_ID = $arFilter['IBLOCK_ID']; } if (isset($arFilter['HIDE_NOT_AVAILABLE'])) { $boolHideNotAvailable = $arFilter['HIDE_NOT_AVAILABLE'] === 'Y'; } if (isset($arFilter['CHECK_PERMISSIONS'])) { $boolCheckPermissions = $arFilter['CHECK_PERMISSIONS'] === 'Y'; } if (isset($arFilter['SHOW_PRICE_COUNT'])) { $showPriceCount = (int) $arFilter['SHOW_PRICE_COUNT']; if ($showPriceCount <= 0) { $showPriceCount = false; } } } else { $IBLOCK_ID = $arFilter; } if (self::$needDiscountCache === null) { $pricesAllow = CIBlockPriceTools::GetAllowCatalogPrices($arPrices); if (empty($pricesAllow)) { self::$needDiscountCache = false; } else { $USER_ID = (int) $USER_ID; $userGroups = $USER_ID > 0 ? CUser::GetUserGroup($USER_ID) : $USER->GetUserGroupArray(); self::$needDiscountCache = CIBlockPriceTools::SetCatalogDiscountCache($pricesAllow, $userGroups); unset($userGroups); } unset($pricesAllow); } $arOffersIBlock = CIBlockPriceTools::GetOffersIBlock($IBLOCK_ID); if ($arOffersIBlock) { $arDefaultMeasure = CCatalogMeasure::getDefaultMeasure(true, true); $limit = (int) $limit; if (0 > $limit) { $limit = 0; } if (!isset($arOrder["ID"])) { $arOrder["ID"] = "DESC"; } $intOfferIBlockID = $arOffersIBlock["OFFERS_IBLOCK_ID"]; $productProperty = 'PROPERTY_' . $arOffersIBlock['OFFERS_PROPERTY_ID']; $productPropertyValue = $productProperty . '_VALUE'; $arFilter = array("IBLOCK_ID" => $intOfferIBlockID, $productProperty => $arElementID, "ACTIVE" => "Y", "ACTIVE_DATE" => "Y"); if ($boolHideNotAvailable) { $arFilter['CATALOG_AVAILABLE'] = 'Y'; } if ($boolCheckPermissions) { $arFilter['CHECK_PERMISSIONS'] = "Y"; $arFilter['MIN_PERMISSION'] = "R"; } $arSelect = array("ID" => 1, "IBLOCK_ID" => 1, $productProperty => 1, "CATALOG_QUANTITY" => 1); foreach ($arPrices as $value) { if (!$value['CAN_VIEW'] && !$value['CAN_BUY']) { continue; } $arSelect[$value["SELECT"]] = 1; if ($showPriceCount !== false) { $arFilter['CATALOG_SHOP_QUANTITY_' . $value['ID']] = $showPriceCount; } } foreach ($arSelectFields as $code) { $arSelect[$code] = 1; } //mark to select if (!isset($arSelect['PREVIEW_PICTURE'])) { $arSelect['PREVIEW_PICTURE'] = 1; } if (!isset($arSelect['DETAIL_PICTURE'])) { $arSelect['DETAIL_PICTURE'] = 1; } $arOfferIDs = array(); $arMeasureMap = array(); $intKey = 0; $arOffersPerElement = array(); $arOffersLink = array(); $extPrices = array(); $rsOffers = CIBlockElement::GetList($arOrder, $arFilter, false, false, array_keys($arSelect)); while ($arOffer = $rsOffers->GetNext()) { $arOffer['ID'] = (int) $arOffer['ID']; $element_id = (int) $arOffer[$productPropertyValue]; //No more than limit offers per element if ($limit > 0) { $arOffersPerElement[$element_id]++; if ($arOffersPerElement[$element_id] > $limit) { continue; } } if ($element_id > 0) { $arOffer["LINK_ELEMENT_ID"] = $element_id; $arOffer["PROPERTIES"] = array(); $arOffer["DISPLAY_PROPERTIES"] = array(); $arOffer['CHECK_QUANTITY'] = 'Y' == $arOffer['CATALOG_QUANTITY_TRACE'] && 'N' == $arOffer['CATALOG_CAN_BUY_ZERO']; $arOffer['CATALOG_TYPE'] = CCatalogProduct::TYPE_OFFER; $arOffer['CATALOG_MEASURE_NAME'] = $arDefaultMeasure['SYMBOL_RUS']; $arOffer['~CATALOG_MEASURE_NAME'] = $arDefaultMeasure['SYMBOL_RUS']; $arOffer["CATALOG_MEASURE_RATIO"] = 1; if (!isset($arOffer['CATALOG_MEASURE'])) { $arOffer['CATALOG_MEASURE'] = 0; } $arOffer['CATALOG_MEASURE'] = (int) $arOffer['CATALOG_MEASURE']; if (0 > $arOffer['CATALOG_MEASURE']) { $arOffer['CATALOG_MEASURE'] = 0; } if (0 < $arOffer['CATALOG_MEASURE']) { if (!isset($arMeasureMap[$arOffer['CATALOG_MEASURE']])) { $arMeasureMap[$arOffer['CATALOG_MEASURE']] = array(); } $arMeasureMap[$arOffer['CATALOG_MEASURE']][] = $intKey; } $arOfferIDs[] = $arOffer['ID']; $arResult[$intKey] = $arOffer; if (!isset($arOffersLink[$arOffer['ID']])) { $arOffersLink[$arOffer['ID']] =& $arResult[$intKey]; } else { if (!isset($extPrices[$arOffer['ID']])) { $extPrices[$arOffer['ID']] = array(); } $extPrices[$arOffer['ID']][] =& $arResult[$intKey]; } $intKey++; } } if (!empty($arOfferIDs)) { $rsRatios = CCatalogMeasureRatio::getList(array(), array('@PRODUCT_ID' => $arOfferIDs), false, false, array('PRODUCT_ID', 'RATIO')); while ($arRatio = $rsRatios->Fetch()) { $arRatio['PRODUCT_ID'] = (int) $arRatio['PRODUCT_ID']; if (isset($arOffersLink[$arRatio['PRODUCT_ID']])) { $intRatio = (int) $arRatio['RATIO']; $dblRatio = (double) $arRatio['RATIO']; $mxRatio = $dblRatio > $intRatio ? $dblRatio : $intRatio; if (CATALOG_VALUE_EPSILON > abs($mxRatio)) { $mxRatio = 1; } elseif (0 > $mxRatio) { $mxRatio = 1; } $arOffersLink[$arRatio['PRODUCT_ID']]['CATALOG_MEASURE_RATIO'] = $mxRatio; } } if (!empty($arSelectProperties)) { CIBlockElement::GetPropertyValuesArray($arOffersLink, $intOfferIBlockID, $arFilter); foreach ($arResult as &$arOffer) { if (self::$needDiscountCache) { CCatalogDiscount::SetProductPropertiesCache($arOffer['ID'], $arOffer["PROPERTIES"]); } foreach ($arSelectProperties as $pid) { if (!isset($arOffer["PROPERTIES"][$pid])) { continue; } $prop =& $arOffer["PROPERTIES"][$pid]; $boolArr = is_array($prop["VALUE"]); if ($boolArr && !empty($prop["VALUE"]) || !$boolArr && strlen($prop["VALUE"]) > 0) { $arOffer["DISPLAY_PROPERTIES"][$pid] = CIBlockFormatProperties::GetDisplayValue($arOffer, $prop, "catalog_out"); } unset($prop); } } unset($arOffer); } if (!empty($extPrices)) { foreach ($extPrices as $origID => $prices) { foreach ($prices as $oneRow) { $oneRow['PROPERTIES'] = $arOffersLink[$origID]['PROPERTIES']; $oneRow['DISPLAY_PROPERTIES'] = $arOffersLink[$origID]['DISPLAY_PROPERTIES']; $oneRow['CATALOG_MEASURE_RATIO'] = $arOffersLink[$origID]['CATALOG_MEASURE_RATIO']; } } } if (self::$needDiscountCache) { CCatalogDiscount::SetProductSectionsCache($arOfferIDs); CCatalogDiscount::SetDiscountProductCache($arOfferIDs, array('IBLOCK_ID' => $intOfferIBlockID, 'GET_BY_ID' => 'Y')); } foreach ($arResult as &$arOffer) { $arOffer['CATALOG_QUANTITY'] = 0 < $arOffer['CATALOG_QUANTITY'] && is_float($arOffer['CATALOG_MEASURE_RATIO']) ? (double) $arOffer['CATALOG_QUANTITY'] : (int) $arOffer['CATALOG_QUANTITY']; $arOffer['MIN_PRICE'] = false; $arOffer["PRICES"] = CIBlockPriceTools::GetItemPrices($arOffersIBlock["OFFERS_IBLOCK_ID"], $arPrices, $arOffer, $vat_include, $arCurrencyParams, $USER_ID, $LID); if (!empty($arOffer["PRICES"])) { foreach ($arOffer['PRICES'] as &$arOnePrice) { if ($arOnePrice['MIN_PRICE'] == 'Y') { $arOffer['MIN_PRICE'] = $arOnePrice; break; } } unset($arOnePrice); } $arOffer["CAN_BUY"] = CIBlockPriceTools::CanBuy($arOffersIBlock["OFFERS_IBLOCK_ID"], $arPrices, $arOffer); } if (isset($arOffer)) { unset($arOffer); } } if (!empty($arMeasureMap)) { $rsMeasures = CCatalogMeasure::getList(array(), array('@ID' => array_keys($arMeasureMap)), false, false, array('ID', 'SYMBOL_RUS')); while ($arMeasure = $rsMeasures->GetNext()) { $arMeasure['ID'] = (int) $arMeasure['ID']; if (isset($arMeasureMap[$arMeasure['ID']]) && !empty($arMeasureMap[$arMeasure['ID']])) { foreach ($arMeasureMap[$arMeasure['ID']] as &$intOneKey) { $arResult[$intOneKey]['CATALOG_MEASURE_NAME'] = $arMeasure['SYMBOL_RUS']; $arResult[$intOneKey]['~CATALOG_MEASURE_NAME'] = $arMeasure['~SYMBOL_RUS']; } unset($intOneKey); } } } } return $arResult; }
<? $GLOBALS['_____2095551865']= array(base64_decode('SW5jbHV'.'kZU1vZH'.'VsZUxh'.'bmd'.'GaWxl'),base64_decode('QWRkQXV0b2xv'.'YWRDbGFzc2Vz'),base64_decode('R'.'2V0'.'T'.'Gl'.'zdA=='),base64_decode('R2V'.'0TGl'.'zdA='.'='),base64_decode('R2V'.'0TmV4d'.'A=='),base64_decode('R2V0'.'QnlJRA=='),base64_decode('R2V0Q'.'nlJRA'.'=='),base64_decode('V'.'G'.'hy'.'b3dFeGNl'.'cHR'.'p'.'b2'.'4='),base64_decode('R2V'.'0QnlJRA=='),base64_decode(''.'R'.'2'.'V0T'.'3B0a'.'W9u'.'U'.'3Rya'.'W5n'),base64_decode('R2V'.'0Q'.'nl'.'J'.'R'.'A='.'='),base64_decode('RmV0'.'Y2g='),base64_decode(''.'R'.'2V'.'0TG'.'lzdA='.'='),base64_decode('RmV0Y2'.'g='),base64_decode('R2'.'V0TGlz'.'dA='.'='),base64_decode('RmV0Y2g='),base64_decode('Rm'.'V0Y2g'.'='),base64_decode('R2V0TGlzd'.'A='.'='),base64_decode('RmV0Y'.'2g='),base64_decode('R2V0'.'TGlzdA=='),base64_decode('R2V'.'0T'.'mV4dA=='));?><? $GLOBALS['____1996017285']= array(base64_decode('ZGVm'.'aW5l'),base64_decode('ZGV'.'maW5l'),base64_decode(''.'Z'.'GV'.'m'.'aW'.'5l'),base64_decode('ZGVm'.'aW5'.'l'),base64_decode('ZGV'.'maW5l'),base64_decode('ZGVmaW'.'5'.'l'),base64_decode(''.'ZGV'.'maW5l'),base64_decode('ZGVmaW5'.'l'),base64_decode('ZGVmaW'.'5l'),base64_decode('ZGVma'.'W5l'),base64_decode('c'.'3Ry'.'bG'.'Vu'),base64_decode(''.'c3RybGV'.'u'),base64_decode('Zml'.'sZV9leG'.'lzdHM='),base64_decode('dW5'.'z'.'ZXJpYW'.'x'.'p'.'emU='),base64_decode('Y'.'XJyYXlf'.'a2V'.'5X2V4aXN0c'.'w=='),base64_decode('a'.'XNfYXJyYX'.'k='),base64_decode(''.'Y'.'XJy'.'YX'.'lfa'.'2V5'.'cw=='),base64_decode('YXJyY'.'XlfZml'.'sd'.'GVy'),base64_decode('YX'.'JyYXlfd'.'W'.'5pcXVl'),base64_decode('aXN'.'fYXJy'.'YXk='),base64_decode('a'.'W5f'.'YXJy'.'YXk='),base64_decode(''.'ZXhwbG9kZQ=='),base64_decode('aXNfYX'.'JyYX'.'k='),base64_decode(''.'aXNfYX'.'JyY'.'X'.'k'.'='));?><? function ___1962356472($_171521712){static $_1188527770= false; if($_1188527770 == false) $_1188527770=array('U0F'.'MRV'.'9'.'ERUJVR'.'w'.'==','U0FMR'.'V9G'.'SUVMR'.'F'.'9'.'U'.'WVBFUw='.'=','Q0hFQ'.'0'.'tCT1g=','U'.'0'.'F'.'MR'.'V9U'.'WVBFX0N'.'I'.'RUN'.'LQk9Y','VEVYVA'.'==','U0FMRV'.'9UWVBFX1RFWFQ=','U0'.'VMRUNU','U0FM'.'RV9UWVBFX1NFTEVDVA==',''.'TV'.'VMVElTRU'.'x'.'F'.'Q1Q=','U0FMRV9'.'U'.'WV'.'BFX01'.'VTFRJU0V'.'MRU'.'N'.'U','VEVYVEFS'.'RUE'.'=','U0FMRV9UWVBFX1RFWF'.'RB'.'U'.'kV'.'B',''.'TE9DQVRJT04=','U'.'0F'.'MRV'.'9UWV'.'B'.'FX'.'0xPQ'.'0'.'FUSU9O','Uk'.'FESU8=','U'.'0F'.'MRV9UWVB'.'FX1JBREl'.'P','RklMRQ==','U'.'0FMR'.'V'.'9'.'UWVBFX0Z'.'JTEU=','Y3'.'Vy'.'cmV'.'uY3k=','U0FMRV9QU'.'k9DX1JFQ19OVU'.'0=','U0FMRV9Q'.'Uk9DX1JFQ'.'19BV'.'FRFT'.'VBU'.'Uw==',''.'U0FMRV9Q'.'Uk9D'.'X1'.'JF'.'Q19'.'USU'.'1F','U0'.'FMRV9QUk9DX1'.'JFQ19GUkVRVUVOQ1k=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q1VTVE9'.'N','W'.'Q==',''.'U0'.'9SVA==','U1'.'VN'.'X1BBSUQ=','VVN'.'FUg==','Q'.'09MV'.'U1OX05BTUU=','U0lfQlVZ'.'R'.'VI=','TkF'.'NRQ'.'==','U'.'0'.'lfQlVZRVI=','U0'.'VMR'.'UNU',''.'VVNFUl9JRA'.'='.'=','Q'.'1V'.'TVE9N','WQ==','U0'.'9SVA==',''.'VV'.'NFUl'.'9JRA==','UEFZ'.'X'.'1N'.'ZU1RFTQ==','Q09MVU1OX05BTUU'.'=','U'.'0lfUEFZX1'.'N'.'ZUw='.'=','TkFNRQ='.'=',''.'U0lfUEFZ'.'X1N'.'ZUw==','U0VMR'.'UN'.'U',''.'UEFZX'.'1N'.'ZU'.'1RFTV9JRA='.'=','Q1V'.'TVE9N',''.'WQ==','U09SVA==','UE'.'FZX1NZ'.'U1RFTV9JRA==','RE'.'VMS'.'V'.'Z'.'FUlk'.'=','Q09MV'.'U'.'1'.'OX05BTUU'.'=','U'.'0lfR'.'E'.'V'.'MSVZF'.'UllfU1lT','TkFNRQ==','U'.'0lf'.'REVMSVZFU'.'l'.'lfU'.'1l'.'T','U'.'0VMRUN'.'U',''.'REVMS'.'V'.'ZFUllfSUQ=','Q1VTVE9N',''.'W'.'Q'.'==',''.'U'.'09SVA'.'==','REVMSVZ'.'F'.'UllfS'.'U'.'Q'.'=','R'.'E'.'FURV'.'9VUERBVEU=','Q0'.'9M'.'VU1'.'OX05BTU'.'U'.'=','U0lfREFURV9VU'.'ER'.'BVEU=','Tk'.'FN'.'RQ==','U'.'0lfREFURV9VUE'.'RBV'.'EU'.'=','U0VMRUN'.'U',''.'R'.'EFURV9VUE'.'RBVE'.'U=','Q1VTV'.'E9N',''.'Tg==','U'.'0'.'9SVA==','REF'.'URV'.'9VUERBVE'.'U=',''.'UFNfU1RB'.'VFVT','Q09MVU1OX05BT'.'UU=',''.'U'.'0lfUE'.'F'.'ZTUVOVF9Q'.'Uw==','TkF'.'NR'.'Q'.'==','U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UVBU1VSRV'.'9URVhU','flNZ'.'TUJPTF9SVVM=','TU'.'VBU'.'1VSRQ==','SU'.'Q'.'=','SUQ'.'=','TUV'.'B'.'U1VSRQ==','SUQ=',''.'S'.'UQ=','TUVBU1VSRQ='.'=','TUVBU1'.'VSRQ==','TUV'.'BU1'.'VSR'.'Q==','TUVBU1'.'VSRQ='.'=','TUVBU1V'.'SRQ'.'==','SUQ'.'=','SUQ=','SUQ=','U1lN'.'Qk9MX1J'.'VUw==','SUQ=','SUQ=','SUQ'.'=','S'.'UQ=','SUQ=','TU'.'VBU'.'1VSRV9'.'URVh'.'U','U1lNQk9MX1JVU'.'w==','TU'.'VBU1V'.'SRQ'.'='.'=','SUQ=','Y2F0Y'.'WxvZw==','UFJ'.'P'.'R'.'FVD'.'VF9JRA='.'=','UFJ'.'PR'.'FV'.'DVF9'.'JR'.'A='.'=','UF'.'JPR'.'F'.'VDVF9JRA==',''.'UFJPR'.'FVDV'.'F9JRA==','UFJPRFVD'.'VF9JRA='.'=',''.'UFJ'.'PRFVDVF9'.'JRA==','UkFUSU8=','UFJPRF'.'V'.'DVF'.'9'.'J'.'RA==','UFJP'.'RFVDVF9JRA==','TUV'.'BU'.'1VSRV9'.'SQV'.'RJ'.'Tw==','UkF'.'USU8=','aW'.'J'.'sb2Nr','Y2hl'.'Y2tQcm9kd'.'W'.'N0UHJvcE'.'NvZG'.'U=','PUlE','SUQ=','SUJ'.'M'.'T0NLX'.'0l'.'E','SUJMT0'.'NLX0lE','SUQ=','SUJMT0NLX'.'0'.'lE','P'.'U'.'lE','SUQ=','LCA=','LC'.'A=','','UF'.'JPU'.'EVS'.'V'.'Fl'.'f','Q09'.'ERQ==','Q'.'09ER'.'Q='.'=','','Og==','T'.'k'.'F'.'NRQ==','Q09ERQ==','Q0'.'9ERQ==','','Og'.'==','TkFN'.'RQ==','V'.'k'.'F'.'MV'.'UU=',''.'VkFMVUU=');return base64_decode($_1188527770[$_171521712]);}?><? use Bitrix\Main\Loader; $GLOBALS['____1996017285'][0](___1962356472(0), false); global $DBType; $GLOBALS['_____2095551865'][0](__FILE__); $GLOBALS[___1962356472(1)]= array( ___1962356472(2) => GetMessage(___1962356472(3)), ___1962356472(4) => GetMessage(___1962356472(5)), ___1962356472(6) => GetMessage(___1962356472(7)), ___1962356472(8) => GetMessage(___1962356472(9)), ___1962356472(10) => GetMessage(___1962356472(11)), ___1962356472(12) => GetMessage(___1962356472(13)), ___1962356472(14) => GetMessage(___1962356472(15)), ___1962356472(16) => GetMessage(___1962356472(17))); if(!Loader::includeModule(___1962356472(18))) return false; $GLOBALS['____1996017285'][1](___1962356472(19), round(0+3)); $GLOBALS['____1996017285'][2](___1962356472(20), round(0+1.5+1.5)); $GLOBALS['____1996017285'][3](___1962356472(21), round(0+8640+8640+8640+8640+8640)); $GLOBALS['____1996017285'][4](___1962356472(22), round(0+1800+1800+1800+1800)); $GLOBALS['____1996017285'][5](___1962356472(23), ___1962356472(24)); $GLOBALS['____1996017285'][6](___1962356472(25), round(0+1800+1800)*round(0+8+8+8)); global $SALE_TIME_PERIOD_TYPES; $SALE_TIME_PERIOD_TYPES= array( ___1962356472(26) => GetMessage(___1962356472(27)), ___1962356472(28) => GetMessage(___1962356472(29)), ___1962356472(30) => GetMessage(___1962356472(31)), ___1962356472(32) => GetMessage(___1962356472(33)), ___1962356472(34) => GetMessage(___1962356472(35)), ___1962356472(36) => GetMessage(___1962356472(37)), ___1962356472(38) => GetMessage(___1962356472(39))); $GLOBALS['____1996017285'][7](___1962356472(40), round(0+0.66666666666667+0.66666666666667+0.66666666666667)); $GLOBALS['____1996017285'][8](___1962356472(41), round(0+1+1+1)); $GLOBALS['____1996017285'][9](___1962356472(42), ___1962356472(43)); $GLOBALS[___1962356472(44)]= array( ___1962356472(45) => array(___1962356472(46) => ___1962356472(47), ___1962356472(48) => GetMessage(___1962356472(49)), ___1962356472(50) => ___1962356472(51), ___1962356472(52) => ___1962356472(53), ___1962356472(54) => ___1962356472(55)), ___1962356472(56) => array(___1962356472(57) => GetMessage(___1962356472(58)), ___1962356472(59) => GetMessage(___1962356472(60)), ___1962356472(61) => ___1962356472(62), ___1962356472(63) => ___1962356472(64), ___1962356472(65) => ___1962356472(66)), ___1962356472(67) => array(___1962356472(68) => GetMessage(___1962356472(69)), ___1962356472(70) => GetMessage(___1962356472(71)), ___1962356472(72) => ___1962356472(73), ___1962356472(74) => ___1962356472(75), ___1962356472(76) => ___1962356472(77)), ___1962356472(78) => array(___1962356472(79) => GetMessage(___1962356472(80)), ___1962356472(81) => GetMessage(___1962356472(82)), ___1962356472(83) => ___1962356472(84), ___1962356472(85) => ___1962356472(86), ___1962356472(87) => ___1962356472(88)), ___1962356472(89) => array(___1962356472(90) => GetMessage(___1962356472(91)), ___1962356472(92) => GetMessage(___1962356472(93)), ___1962356472(94) => ___1962356472(95), ___1962356472(96) => ___1962356472(97), ___1962356472(98) => ___1962356472(99)), ___1962356472(100) => array(___1962356472(101) => GetMessage(___1962356472(102)), ___1962356472(103) => GetMessage(___1962356472(104)), ___1962356472(105) => ___1962356472(106), ___1962356472(107) => ___1962356472(108), ___1962356472(109) => ___1962356472(110)), ___1962356472(111) => array(___1962356472(112) => GetMessage(___1962356472(113)), ___1962356472(114) => GetMessage(___1962356472(115)), ___1962356472(116) => ___1962356472(117), ___1962356472(118) => ___1962356472(119), ___1962356472(120) => ___1962356472(121)), ___1962356472(122) => array(___1962356472(123) => GetMessage(___1962356472(124)), ___1962356472(125) => GetMessage(___1962356472(126)), ___1962356472(127) => ___1962356472(128), ___1962356472(129) => ___1962356472(130), ___1962356472(131) => ___1962356472(132)), ___1962356472(133) => array(___1962356472(134) => GetMessage(___1962356472(135)), ___1962356472(136) => GetMessage(___1962356472(137)), ___1962356472(138) => ___1962356472(139), ___1962356472(140) => ___1962356472(141), ___1962356472(142) => ___1962356472(143)), ___1962356472(144) => array(___1962356472(145) => GetMessage(___1962356472(146)), ___1962356472(147) => GetMessage(___1962356472(148)), ___1962356472(149) => ___1962356472(150), ___1962356472(151) => ___1962356472(152), ___1962356472(153) => ___1962356472(154)), ___1962356472(155) => array(___1962356472(156) => GetMessage(___1962356472(157)), ___1962356472(158) => GetMessage(___1962356472(159)), ___1962356472(160) => ___1962356472(161), ___1962356472(162) => ___1962356472(163), ___1962356472(164) => ___1962356472(165)), ___1962356472(166) => array(___1962356472(167) => GetMessage(___1962356472(168)), ___1962356472(169) => GetMessage(___1962356472(170)), ___1962356472(171) => ___1962356472(172), ___1962356472(173) => ___1962356472(174), ___1962356472(175) => ___1962356472(176)), ___1962356472(177) => array(___1962356472(178) => GetMessage(___1962356472(179)), ___1962356472(180) => GetMessage(___1962356472(181)), ___1962356472(182) => ___1962356472(183), ___1962356472(184) => ___1962356472(185), ___1962356472(186) => ___1962356472(187)), ___1962356472(188) => array(___1962356472(189) => GetMessage(___1962356472(190)), ___1962356472(191) => GetMessage(___1962356472(192)), ___1962356472(193) => ___1962356472(194), ___1962356472(195) => ___1962356472(196), ___1962356472(197) => ___1962356472(198)), ___1962356472(199) => array(___1962356472(200) => GetMessage(___1962356472(201)), ___1962356472(202) => GetMessage(___1962356472(203)), ___1962356472(204) => ___1962356472(205), ___1962356472(206) => ___1962356472(207), ___1962356472(208) => ___1962356472(209)), ___1962356472(210) => array(___1962356472(211) => GetMessage(___1962356472(212)), ___1962356472(213) => GetMessage(___1962356472(214)), ___1962356472(215) => ___1962356472(216), ___1962356472(217) => ___1962356472(218), ___1962356472(219) => ___1962356472(220)), ___1962356472(221) => array(___1962356472(222) => GetMessage(___1962356472(223)), ___1962356472(224) => GetMessage(___1962356472(225)), ___1962356472(226) => ___1962356472(227), ___1962356472(228) => ___1962356472(229), ___1962356472(230) => ___1962356472(231)), ___1962356472(232) => array(___1962356472(233) => GetMessage(___1962356472(234)), ___1962356472(235) => GetMessage(___1962356472(236)), ___1962356472(237) => ___1962356472(238), ___1962356472(239) => ___1962356472(240), ___1962356472(241) => ___1962356472(242)), ___1962356472(243) => array(___1962356472(244) => GetMessage(___1962356472(245)), ___1962356472(246) => GetMessage(___1962356472(247)), ___1962356472(248) => ___1962356472(249), ___1962356472(250) => ___1962356472(251), ___1962356472(252) => ___1962356472(253)), ___1962356472(254) => array(___1962356472(255) => GetMessage(___1962356472(256)), ___1962356472(257) => GetMessage(___1962356472(258)), ___1962356472(259) => ___1962356472(260), ___1962356472(261) => ___1962356472(262), ___1962356472(263) => ___1962356472(264)), ___1962356472(265) => array(___1962356472(266) => GetMessage(___1962356472(267)), ___1962356472(268) => GetMessage(___1962356472(269)), ___1962356472(270) => ___1962356472(271), ___1962356472(272) => ___1962356472(273), ___1962356472(274) => ___1962356472(275)), ___1962356472(276) => array(___1962356472(277) => GetMessage(___1962356472(278)), ___1962356472(279) => GetMessage(___1962356472(280)), ___1962356472(281) => ___1962356472(282), ___1962356472(283) => ___1962356472(284), ___1962356472(285) => ___1962356472(286))); CModule::$GLOBALS['_____2095551865'][1]( ___1962356472(287), array( ___1962356472(288) => $DBType.___1962356472(289), ___1962356472(290) => $DBType.___1962356472(291), ___1962356472(292) => ___1962356472(293), ___1962356472(294) => ___1962356472(295), ___1962356472(296) => $DBType.___1962356472(297), ___1962356472(298) => $DBType.___1962356472(299), ___1962356472(300) => $DBType.___1962356472(301), ___1962356472(302) => ___1962356472(303), ___1962356472(304) => $DBType.___1962356472(305), ___1962356472(306) => $DBType.___1962356472(307), ___1962356472(308) => $DBType.___1962356472(309), ___1962356472(310) => $DBType.___1962356472(311), ___1962356472(312) => $DBType.___1962356472(313), ___1962356472(314) => $DBType.___1962356472(315), ___1962356472(316) => $DBType.___1962356472(317), ___1962356472(318) => $DBType.___1962356472(319), ___1962356472(320) => $DBType.___1962356472(321), ___1962356472(322) => ___1962356472(323), ___1962356472(324) => $DBType.___1962356472(325), ___1962356472(326) => $DBType.___1962356472(327), ___1962356472(328) => ___1962356472(329), ___1962356472(330) => ___1962356472(331), ___1962356472(332) => $DBType.___1962356472(333), ___1962356472(334) => $DBType.___1962356472(335), ___1962356472(336) => $DBType.___1962356472(337), ___1962356472(338) => $DBType.___1962356472(339), ___1962356472(340) => $DBType.___1962356472(341), ___1962356472(342) => $DBType.___1962356472(343), ___1962356472(344) => $DBType.___1962356472(345), ___1962356472(346) => $DBType.___1962356472(347), ___1962356472(348) => $DBType.___1962356472(349), ___1962356472(350) => $DBType.___1962356472(351), ___1962356472(352) => $DBType.___1962356472(353), ___1962356472(354) => $DBType.___1962356472(355), ___1962356472(356) => $DBType.___1962356472(357), ___1962356472(358) => $DBType.___1962356472(359), ___1962356472(360) => $DBType.___1962356472(361), ___1962356472(362) => $DBType.___1962356472(363), ___1962356472(364) => $DBType.___1962356472(365), ___1962356472(366) => $DBType.___1962356472(367), ___1962356472(368) => $DBType.___1962356472(369), ___1962356472(370) => ___1962356472(371), ___1962356472(372) => ___1962356472(373), ___1962356472(374) => $DBType.___1962356472(375), ___1962356472(376) => $DBType.___1962356472(377), ___1962356472(378) => ___1962356472(379), ___1962356472(380) => ___1962356472(381), ___1962356472(382) => ___1962356472(383), ___1962356472(384) => ___1962356472(385), ___1962356472(386) => ___1962356472(387), ___1962356472(388) => ___1962356472(389), ___1962356472(390) => ___1962356472(391), ___1962356472(392) => ___1962356472(393), ___1962356472(394) => ___1962356472(395), ___1962356472(396) => ___1962356472(397), ___1962356472(398) => $DBType.___1962356472(399), ___1962356472(400) => $DBType.___1962356472(401), ___1962356472(402) => ___1962356472(403), ___1962356472(404) => ___1962356472(405), ___1962356472(406) => ___1962356472(407), ___1962356472(408) => ___1962356472(409), ___1962356472(410) => ___1962356472(411), ___1962356472(412) => ___1962356472(413), ___1962356472(414) => ___1962356472(415), ___1962356472(416) => ___1962356472(417), ___1962356472(418) => ___1962356472(419), ___1962356472(420) => ___1962356472(421), ___1962356472(422) => ___1962356472(423), ___1962356472(424) => ___1962356472(425), ___1962356472(426) => ___1962356472(427), ___1962356472(428) => ___1962356472(429), ___1962356472(430) => ___1962356472(431), ___1962356472(432) => ___1962356472(433), ___1962356472(434) => ___1962356472(435), ___1962356472(436) => ___1962356472(437), ___1962356472(438) => ___1962356472(439), ___1962356472(440) => ___1962356472(441), ___1962356472(442) => ___1962356472(443), ___1962356472(444) => ___1962356472(445), ___1962356472(446) => ___1962356472(447), ___1962356472(448) => ___1962356472(449), ___1962356472(450) => ___1962356472(451), ___1962356472(452) => ___1962356472(453), ___1962356472(454) => ___1962356472(455), ___1962356472(456) => ___1962356472(457), ___1962356472(458) => ___1962356472(459), ___1962356472(460) => ___1962356472(461), ___1962356472(462) => ___1962356472(463), ___1962356472(464) => ___1962356472(465), ___1962356472(466) => ___1962356472(467), ___1962356472(468) => ___1962356472(469), ___1962356472(470) => ___1962356472(471), ___1962356472(472) => ___1962356472(473), ___1962356472(474) => ___1962356472(475), ___1962356472(476) => ___1962356472(477), ___1962356472(478) => ___1962356472(479), ___1962356472(480) => ___1962356472(481), ___1962356472(482) => ___1962356472(483), ___1962356472(484) => ___1962356472(485), ___1962356472(486) => ___1962356472(487), ___1962356472(488) => ___1962356472(489), ___1962356472(490) => ___1962356472(491), ___1962356472(492) => ___1962356472(493), ___1962356472(494) => ___1962356472(495), ___1962356472(496) => ___1962356472(497), ___1962356472(498) => ___1962356472(499), ___1962356472(500) => ___1962356472(501), ___1962356472(502) => ___1962356472(503), ___1962356472(504) => ___1962356472(505).ToLower($DBType).___1962356472(506), ___1962356472(507) => ___1962356472(508), ___1962356472(509) => ___1962356472(510), ___1962356472(511) => ___1962356472(512), ___1962356472(513) => ___1962356472(514), ___1962356472(515) => ___1962356472(516), ___1962356472(517) => ___1962356472(518), ___1962356472(519) => ___1962356472(520), ___1962356472(521) => ___1962356472(522), ___1962356472(523) => ___1962356472(524), ___1962356472(525) => ___1962356472(526), ___1962356472(527) => ___1962356472(528), ___1962356472(529) => ___1962356472(530), ___1962356472(531) => ___1962356472(532), ___1962356472(533) => ___1962356472(534), ___1962356472(535) => ___1962356472(536), ___1962356472(537) => ___1962356472(538), ___1962356472(539) => ___1962356472(540), ___1962356472(541) => ___1962356472(542), ___1962356472(543) => ___1962356472(544), ___1962356472(545) => ___1962356472(546), ___1962356472(547) => ___1962356472(548), ___1962356472(549) => ___1962356472(550), ___1962356472(551) => ___1962356472(552), ___1962356472(553) => ___1962356472(554), ___1962356472(555) => ___1962356472(556), ___1962356472(557) => ___1962356472(558), ___1962356472(559) => ___1962356472(560), ___1962356472(561) => ___1962356472(562), ___1962356472(563) => ___1962356472(564), ___1962356472(565) => ___1962356472(566), ___1962356472(567) => ___1962356472(568), ___1962356472(569) => ___1962356472(570), ___1962356472(571) => ___1962356472(572), ___1962356472(573) => ___1962356472(574), ___1962356472(575) => ___1962356472(576), ___1962356472(577) => ___1962356472(578), ___1962356472(579) => ___1962356472(580), ___1962356472(581) => ___1962356472(582), ___1962356472(583) => ___1962356472(584), ___1962356472(585) => ___1962356472(586), ___1962356472(587) => ___1962356472(588), ___1962356472(589) => ___1962356472(590), ___1962356472(591) => ___1962356472(592), ___1962356472(593) => ___1962356472(594))); function GetBasketListSimple($_964419114= False){ $_1231452589= CSaleBasket::GetBasketUserID($_964419114); if($_1231452589>(153*2-306)) return CSaleBasket::$GLOBALS['_____2095551865'][2]( array(___1962356472(595) => ___1962356472(596)), array(___1962356472(597) => $_1231452589, ___1962356472(598) => SITE_ID, ___1962356472(599) => ___1962356472(600))); else return False;} function GetBasketList($_964419114= False){ $_1231452589= CSaleBasket::GetBasketUserID($_964419114); $_1080999282= array(); if($_1231452589> min(18,0,6)){ $_2124417791= CSaleBasket::$GLOBALS['_____2095551865'][3]( array(___1962356472(601) => ___1962356472(602)), array(___1962356472(603) => $_1231452589, ___1962356472(604) => SITE_ID, ___1962356472(605) => ___1962356472(606))); while($_1250759135= $_2124417791->$GLOBALS['_____2095551865'][4]()){ if($GLOBALS['____1996017285'][10]($_1250759135[___1962356472(607)])>(1444/2-722) || $GLOBALS['____1996017285'][11]($_1250759135[___1962356472(608)])>(1196/2-598)){ CSaleBasket::UpdatePrice($_1250759135[___1962356472(609)], $_1250759135[___1962356472(610)], $_1250759135[___1962356472(611)], $_1250759135[___1962356472(612)], $_1250759135[___1962356472(613)], $_1250759135[___1962356472(614)]); $_1250759135= CSaleBasket::$GLOBALS['_____2095551865'][5]($_1250759135[___1962356472(615)]);} $_1080999282[]= $_1250759135;}} return $_1080999282;} function SaleFormatCurrency($_1416527814, $_1774976032, $_1734376193= false){ return CCurrencyLang::CurrencyFormat($_1416527814, $_1774976032,!($_1734376193 === true));} function AutoPayOrder($_1145000245){ $_1145000245= (int)$_1145000245; if($_1145000245 <= min(122,0,40.666666666667)) return false; $_1836888656= CSaleOrder::$GLOBALS['_____2095551865'][6]($_1145000245); if(!$_1836888656) return false; if($_1836888656[___1962356472(616)] != ___1962356472(617)) return false; if($_1836888656[___1962356472(618)] != ___1962356472(619)) return false; if($_1836888656[___1962356472(620)] == $_1836888656[___1962356472(621)] && DoubleVal($_1836888656[___1962356472(622)]) == DoubleVal($_1836888656[___1962356472(623)])){ if(CSaleOrder::PayOrder($_1836888656[___1962356472(624)], ___1962356472(625), true, false)) return true;} return false;} function CurrencyModuleUnInstallSale(){ $GLOBALS[___1962356472(626)]->$GLOBALS['_____2095551865'][7](GetMessage(___1962356472(627)), ___1962356472(628)); return false;} if($GLOBALS['____1996017285'][12]($_SERVER[___1962356472(629)].___1962356472(630))) include($_SERVER[___1962356472(631)].___1962356472(632)); function PayUserAccountDeliveryOrderCallback($_847869859, $_1820454280, $_1672223728, $_1779241238, $_575003548= 1){ global $DB; $_847869859= IntVal($_847869859); $_1820454280= IntVal($_1820454280); $_1672223728=($_1672223728? True: False); $_1779241238= IntVal($_1779241238); if($_1820454280 <= min(6,0,2)) return False; if($_1779241238 <=(1008/2-504)) return False; if(!($_1836888656= CSaleOrder::$GLOBALS['_____2095551865'][8]($_1779241238))) return False; $_1941580263= CSaleLang::GetLangCurrency($_1836888656[___1962356472(633)]); $_2023542296= $GLOBALS['____1996017285'][13](COption::$GLOBALS['_____2095551865'][9](___1962356472(634), ___1962356472(635), ___1962356472(636))); if(!$GLOBALS['____1996017285'][14]($_847869859, $_2023542296)) return False; $_348088051= $_2023542296[$_847869859][___1962356472(637)]* $_575003548; $_98170867= $_2023542296[$_847869859][___1962356472(638)]; if($_2023542296[$_847869859][___1962356472(639)] != $_1941580263){ $_348088051= CCurrencyRates::ConvertCurrency($_2023542296[$_847869859][___1962356472(640)], $_2023542296[$_847869859][___1962356472(641)], $_1941580263)* $_575003548; $_98170867= $_1941580263;} if(!CSaleUserAccount::UpdateAccount($_1820454280,($_1672223728? $_348088051:-$_348088051), $_98170867, ___1962356472(642), $_1779241238, ___1962356472(643))) return False; return True;} function GetFormatedUserName($_1159666574, $_2030349288= true){ $_1802484492= ___1962356472(644); $_1159666574= IntVal($_1159666574); if($_1159666574>(1352/2-676)){ if(!isset($_450674153[$_1159666574]) ||!$GLOBALS['____1996017285'][15]($_450674153[$_1159666574])){ $_1609471389= CUser::$GLOBALS['_____2095551865'][10]($_1159666574); if($_989219743= $_1609471389->$GLOBALS['_____2095551865'][11]()){ $_450674153[$_1159666574]= CUser::FormatName( CSite::GetNameFormat(false), array( ___1962356472(645) => $_989219743[___1962356472(646)], ___1962356472(647) => $_989219743[___1962356472(648)], ___1962356472(649) => $_989219743[___1962356472(650)], ___1962356472(651) => $_989219743[___1962356472(652)]), true, true);}} if($_2030349288) $_1802484492 .= ___1962356472(653).$_1159666574.___1962356472(654).LANGUAGE_ID.___1962356472(655).$_1159666574.___1962356472(656); if(CBXFeatures::IsFeatureEnabled(___1962356472(657))) $_1802484492 .= ___1962356472(658).$_1159666574.___1962356472(659).LANGUAGE_ID.___1962356472(660); else $_1802484492 .= ___1962356472(661).$_1159666574.___1962356472(662).LANGUAGE_ID.___1962356472(663); $_1802484492 .= $_450674153[$_1159666574]; $_1802484492 .= ___1962356472(664);} return $_1802484492;} function getMeasures($_983801972){ if(Loader::includeModule(___1962356472(665))){ $_1425030598= CCatalogMeasure::getDefaultMeasure(true, true); $_1946484845= array(); $_74254952= array(); foreach($_983801972 as $_1796920750 => $_2080684764){ $_847869859= (int)$_2080684764[___1962356472(666)]; if(!isset($_74254952[$_847869859])) $_74254952[$_847869859]= array(); $_74254952[$_847869859][]= $_1796920750; $_1946484845[]= $_847869859; $_983801972[$_1796920750][___1962356472(667)]= $_1425030598[___1962356472(668)]; $_983801972[$_1796920750][___1962356472(669)]= min(34,0,11.333333333333);} unset($_847869859, $_1796920750, $_2080684764); if(!empty($_1946484845)){ $_344448868= array(); $_1672352462= CCatalogProduct::$GLOBALS['_____2095551865'][12]( array(), array(___1962356472(670) => $_1946484845), false, false, array(___1962356472(671), ___1962356472(672))); while($_1080999282= $_1672352462->$GLOBALS['_____2095551865'][13]()){ $_1080999282[___1962356472(673)]= (int)$_1080999282[___1962356472(674)]; $_1080999282[___1962356472(675)]= (int)$_1080999282[___1962356472(676)]; if(!isset($_344448868[$_1080999282[___1962356472(677)]])) $_344448868[$_1080999282[___1962356472(678)]]= array(); $_344448868[$_1080999282[___1962356472(679)]][]= $_1080999282[___1962356472(680)];} unset($_1080999282, $_1672352462); if(!empty($_344448868)){ $_1443659060= CCatalogMeasure::$GLOBALS['_____2095551865'][14]( array(), array(___1962356472(681) => $GLOBALS['____1996017285'][16]($_344448868)), false, false, array(___1962356472(682), ___1962356472(683))); while($_1111531262= $_1443659060->$GLOBALS['_____2095551865'][15]()){ $_1111531262[___1962356472(684)]= (int)$_1111531262[___1962356472(685)]; if(isset($_344448868[$_1111531262[___1962356472(686)]]) &&!empty($_344448868[$_1111531262[___1962356472(687)]])){ foreach($_344448868[$_1111531262[___1962356472(688)]] as&$_847869859){ if(isset($_74254952[$_847869859]) &&!empty($_74254952[$_847869859])){ foreach($_74254952[$_847869859] as&$_1796920750){ $_983801972[$_1796920750][___1962356472(689)]= $_1111531262[___1962356472(690)]; $_983801972[$_1796920750][___1962356472(691)]= $_1111531262[___1962356472(692)];} unset($_1796920750);}} unset($_847869859);}}}}} return $_983801972;} function getRatio($_983801972){ if(Loader::includeModule(___1962356472(693))){ $_1656383693= array(); $_1946484845= array(); foreach($_983801972 as $_100855462 => $_2080684764){ $_1946484845[$_2080684764[___1962356472(694)]]= $_2080684764[___1962356472(695)]; if(!isset($_1656383693[$_2080684764[___1962356472(696)]])) $_1656383693[$_2080684764[___1962356472(697)]]= array(); $_1656383693[$_2080684764[___1962356472(698)]][]= $_100855462;} if(!empty($_1946484845)){ $_641315522= CCatalogMeasureRatio::getList(array(), $_1946484845, false, false, array(___1962356472(699), ___1962356472(700))); while($_1943061120= $_641315522->$GLOBALS['_____2095551865'][16]()){ if(empty($_1656383693[$_1943061120[___1962356472(701)]])) continue; foreach($_1656383693[$_1943061120[___1962356472(702)]] as $_100855462){ $_983801972[$_100855462][___1962356472(703)]= $_1943061120[___1962356472(704)];}}} unset($_1946484845, $_1656383693);} return $_983801972;} function getProductProps($_1946484845, $_1158035868){ if(!Loader::includeModule(___1962356472(705))) return array(); if(empty($_1946484845)) return array(); $_1158035868= $GLOBALS['____1996017285'][17]($_1158035868, ___1962356472(706)); $_66588294= array(); $_1633272055= array(); $_1250759135= CIBlockElement::$GLOBALS['_____2095551865'][17]( array(), array(___1962356472(707) => $GLOBALS['____1996017285'][18]($_1946484845)), false, false, array(___1962356472(708), ___1962356472(709))); while($_304559119= $_1250759135->$GLOBALS['_____2095551865'][18]()) $_1633272055[$_304559119[___1962356472(710)]][]= $_304559119[___1962356472(711)]; foreach($_1633272055 as $_2055436778 => $_1867147990) { $_1250759135= CIBlockElement::$GLOBALS['_____2095551865'][19]( array(), array(___1962356472(712) => $_2055436778, ___1962356472(713) => $_1867147990), false, false, $_1158035868); while($_304559119= $_1250759135->$GLOBALS['_____2095551865'][20]()){ $_1208306768= $_304559119[___1962356472(714)]; foreach($_304559119 as $_100855462 => $_524804540){ if(!isset($_66588294[$_1208306768])) $_66588294[$_1208306768]= array(); if(isset($_66588294[$_1208306768][$_100855462]) &&!$GLOBALS['____1996017285'][19]($_66588294[$_1208306768][$_100855462]) &&!$GLOBALS['____1996017285'][20]($_524804540, $GLOBALS['____1996017285'][21](___1962356472(715), $_66588294[$_1208306768][$_100855462]))) { $_66588294[$_1208306768][$_100855462] .= ___1962356472(716).$_524804540;} elseif(empty($_66588294[$_1208306768][$_100855462])){ $_66588294[$_1208306768][$_100855462]= $_524804540;}}}} return $_66588294;} function checkProductPropCode($_1979280081){ return($_1979280081 !== null && $_1979280081 !== ___1962356472(717) && $_1979280081 !== ___1962356472(718));} function updateBasketOffersProps($_981484295, $_1306176016){ if(!$GLOBALS['____1996017285'][22]($_981484295) ||!$GLOBALS['____1996017285'][23]($_1306176016)) return false; $_1802484492= array(); if(empty($_1306176016)) return $_981484295; if(empty($_981484295)) return $_1306176016; foreach($_981484295 as&$_2079194686){ $_51211162= false; $_100855462= false; $_1913408178=(isset($_2079194686[___1962356472(719)])? (string)$_2079194686[___1962356472(720)]: ___1962356472(721)).___1962356472(722).$_2079194686[___1962356472(723)]; foreach($_1306176016 as $_1634551628 => $_1268795707){ $_397492218=(isset($_1268795707[___1962356472(724)])? (string)$_1268795707[___1962356472(725)]: ___1962356472(726)).___1962356472(727).$_1268795707[___1962356472(728)]; if($_397492218 == $_1913408178){ $_100855462= $_1634551628; $_51211162= true; break;}} if($_51211162){ $_2079194686[___1962356472(729)]= $_1306176016[$_100855462][___1962356472(730)]; unset($_1306176016[$_100855462]);} $_1802484492[]= $_2079194686;} unset($_2079194686); if(!empty($_1306176016)){ foreach($_1306176016 as&$_1268795707){ $_1802484492[]= $_1268795707;} unset($_1268795707);} return $_1802484492;} ?>
function getRatio($arBasketItems) { if (Loader::includeModule('catalog')) { static $cacheRatio = array(); $map = array(); $arElementId = array(); foreach ($arBasketItems as $key => $arItem) { $hash = md5((!empty($arItem['PRODUCT_PROVIDER_CLASS']) ? $arItem['PRODUCT_PROVIDER_CLASS'] : "") . "|" . (!empty($arItem['MODULE']) ? $arItem['MODULE'] : "") . "|" . $arItem["PRODUCT_ID"]); if (array_key_exists($hash, $cacheRatio)) { $arBasketItems[$key]["MEASURE_RATIO"] = $cacheRatio[$hash]; } else { $arElementId[$arItem["PRODUCT_ID"]] = $arItem["PRODUCT_ID"]; } if (!isset($map[$arItem["PRODUCT_ID"]])) { $map[$arItem["PRODUCT_ID"]] = array(); } $map[$arItem["PRODUCT_ID"]][] = $key; } if (!empty($arElementId)) { $dbRatio = CCatalogMeasureRatio::getList(array(), array('@PRODUCT_ID' => $arElementId), false, false, array('PRODUCT_ID', 'RATIO')); while ($arRatio = $dbRatio->Fetch()) { if (empty($map[$arRatio["PRODUCT_ID"]])) { continue; } foreach ($map[$arRatio["PRODUCT_ID"]] as $key) { $arBasketItems[$key]["MEASURE_RATIO"] = $arRatio["RATIO"]; $itemData = $arBasketItems[$key]; $hash = md5((!empty($itemData['PRODUCT_PROVIDER_CLASS']) ? $itemData['PRODUCT_PROVIDER_CLASS'] : "") . "|" . (!empty($itemData['MODULE']) ? $itemData['MODULE'] : "") . "|" . $itemData["PRODUCT_ID"]); $cacheRatio[$hash] = $arRatio["RATIO"]; } unset($key); } unset($arRatio, $dbRatio); } unset($arElementId, $map); } return $arBasketItems; }