ExecuteModuleEventEx($arEvent, Array(&$arResult, &$arUserResult, &$arParams)); /* Order Props End */ //delete prop for text location if (count($arDeleteFieldLocation) > 0) { foreach ($arDeleteFieldLocation as $fieldId) unset($arResult["ORDER_PROP"]["USER_PROPS_Y"][$fieldId]); } /* Delivery Begin */ if ((int)$arUserResult["DELIVERY_LOCATION"] > 0) { $locFrom = COption::GetOptionString('sale', 'location', false, SITE_ID); if(CSaleLocation::isLocationProMigrated()) $locFrom = CSaleLocation::getLocationIDByCODE($locFrom); $arFilter = array( "COMPABILITY" => array( "WEIGHT" => $arResult["ORDER_WEIGHT"], "PRICE" => $arResult["ORDER_PRICE"], "LOCATION_FROM" => $locFrom, "LOCATION_TO" => $arUserResult["DELIVERY_LOCATION"], "LOCATION_ZIP" => $arUserResult["DELIVERY_LOCATION_ZIP"], "MAX_DIMENSIONS" => $arResult["MAX_DIMENSIONS"], "ITEMS" => $arResult["BASKET_ITEMS"] ) ); $bFirst = true; $arDeliveryServiceAll = array();