|
1C-Bitrix 25.700.0
|
Переменные | |
| $module_id = 'catalog' | |
| const | CATALOG_NEW_OFFERS_IBLOCK_NEED = -1 |
| $accessController = AccessController::getCurrent() | |
| $bReadOnly = !$accessController->check(ActionDictionary::ACTION_CATALOG_SETTINGS_ACCESS) | |
| $useSaleDiscountOnly = false | |
| $saleIsInstalled = ModuleManager::isModuleInstalled('sale') | |
| if($saleIsInstalled) | $crmInstalled = ModuleManager::isModuleInstalled('crm') |
| $applyDiscSaveModeList = CCatalogDiscountSave::GetApplyModeList(true) | |
| $saleSettingsUrl = 'settings.php?lang='.LANGUAGE_ID.'&mid=sale&mid_menu=1' | |
| $enabledCommonCatalog = Catalog\Config\Feature::isCommonProductProcessingEnabled() | |
| $canUseYandexMarket = Catalog\Config\Feature::isCanUseYandexExport() | |
| if($_SERVER | $arAllOptions ['REQUEST_METHOD']=='GET' &&!empty($_REQUEST['RestoreDefaults']) &&! $bReadOnly &&check_bitrix_sessid()) |
| if($canUseYandexMarket) | $strWarning = "" |
| $strOK = "" | |
| $aTabs | |
| if($USER->IsAdmin()) | $tabControl = new CAdminTabControl("tabControl", $aTabs, true, true) |
| $currentSettings = array() | |
| $currentSettings ['discsave_apply'] = Option::get('catalog', 'discsave_apply') | |
| $currentSettings ['get_discount_percent_from_base_price'] = Option::get(($saleIsInstalled ? 'sale' : 'catalog'), 'get_discount_percent_from_base_price') | |
| $currentSettings ['save_product_with_empty_price_range'] = Option::get('catalog', 'save_product_with_empty_price_range') | |
| $currentSettings ['use_offer_marking_code_group'] = Option::get('catalog', 'use_offer_marking_code_group') | |
| $currentSettings ['default_product_vat_included'] = Option::get('catalog', 'default_product_vat_included') | |
| $currentSettings ['enable_processing_deprecated_events'] = Option::get('catalog', 'enable_processing_deprecated_events') | |
| $currentSettings ['product_card_slider_enabled'] = Option::get('catalog', 'product_card_slider_enabled') | |
| $currentSettings ['show_store_shipping_center'] = Option::get('catalog', 'show_store_shipping_center') | |
| $strShowCatalogTab = Option::get('catalog', 'show_catalog_tab_with_offers') | |
| $strSaveProductWithoutPrice = Option::get('catalog', 'save_product_without_price') | |
| $strQuantityTrace = Option::get('catalog', 'default_quantity_trace') | |
| $strAllowCanBuyZero = Option::get('catalog', 'default_can_buy_zero') | |
| $strSubscribe = Option::get('catalog', 'default_subscribe') | |
| $strEnableReservation = Option::get('catalog', 'enable_reservation') | |
| $strUseStoreControl = Option::get('catalog', 'default_use_store_control') | |
| $strShowOffersIBlock = Option::get('catalog', 'product_form_show_offers_iblock') | |
| $strSimpleSearch = Option::get('catalog', 'product_form_simple_search') | |
| $searchShowOfferName = Option::get('catalog', 'product_form_show_offer_name') | |
| if ( $enabledCommonCatalog) = Loc::getMessage("CAT_SAVE_PRODUCTS_WITHOUT_PRICE") | |
| endif = $check | |
| if($saleIsInstalled &&Loader::includeModule('sale')) if(! $crmInstalled) if(! $useSaleDiscountOnly | $enableViewedProducts ) = Option::get('catalog', 'enable_viewed_products') |
| $viewedTime = (int)Option::get('catalog', 'viewed_time') | |
| $viewedCount = (int)Option::get('catalog', 'viewed_count') | |
| $viewedPeriod = (int)Option::get('catalog', 'viewed_period') | |
| $styleViewed = ($enableViewedProducts == 'Y' ? 'table-row' : 'none') | |
| for($i=0, $intCount=count($arAllOptions); $i< $intCount; $i++) | $default_outfile_action = Option::get('catalog', 'default_outfile_action') |
| $arVal = array() | |
| $strVal = Option::get('catalog', 'allowed_product_fields') | |
| if($strVal !='') | $productFields |
| if($strVal !='') | $priceFields = CCatalogCSVSettings::getSettingsFields(CCatalogCSVSettings::FIELDS_PRICE) |
| if($strVal !='') | $sectionFields = CCatalogCSVSettings::getSettingsFields(CCatalogCSVSettings::FIELDS_SECTION) |
| $arVATRef = CatalogGetVATArray(array(), true) | |
| $arCatalogList = array() | |
| $arIBlockSitesList = array() | |
| $arIBlockFullInfo = array() | |
| $arRecurring = array() | |
| $arRecurringKey = array() | |
| $rsIBlocks = CIBlock::GetList(array('IBLOCK_TYPE' => 'ASC','ID' => 'ASC')) | |
| while($arIBlock=$rsIBlocks->Fetch()) | $catalogIterator |
| $arIBlockTypeIDList = array() | |
| $arIBlockTypeNameList = array() | |
| $rsIBlockTypes = CIBlockType::GetList(array("sort"=>"asc"), array("ACTIVE"=>"Y")) | |
| while($arIBlockType=$rsIBlockTypes->Fetch()) | $arDoubleIBlockFullInfo = $arIBlockFullInfo |
| $catalogData | |
| $catalogCount = (isset($catalogData['CNT']) ? (int)$catalogData['CNT'] : 0) | |
| if($canUseYandexMarket) if(! $useSaleDiscountOnly||$catalogCount > 0) if($strUseStoreControl==='N' && $catalogCount > 0 | $systemTabControl ) = new CAdminTabControl("tabControl2", $aTabs, true, true) |
| $accessController = AccessController::getCurrent() |
См. определение в файле options.php строка 23
| $applyDiscSaveModeList = CCatalogDiscountSave::GetApplyModeList(true) |
См. определение в файле options.php строка 41
| if ( $_SERVER $arAllOptions[ 'REQUEST_METHOD']=='GET' &&!empty( $_REQUEST[ 'RestoreDefaults']) &&! $bReadOnly &&check_bitrix_sessid()) |
См. определение в файле options.php строка 63
| $arCatalogList = array() |
См. определение в файле options.php строка 1884
| while ( $arIBlockType=$rsIBlockTypes->Fetch()) $arDoubleIBlockFullInfo = $arIBlockFullInfo |
См. определение в файле options.php строка 1988
| $arIBlockFullInfo = array() |
См. определение в файле options.php строка 1887
| $arIBlockSitesList = array() |
См. определение в файле options.php строка 1885
| $arIBlockTypeIDList = array() |
См. определение в файле options.php строка 1976
| $arIBlockTypeNameList = array() |
См. определение в файле options.php строка 1977
| $arRecurring = array() |
См. определение в файле options.php строка 1889
| $arRecurringKey = array() |
См. определение в файле options.php строка 1890
| $arVal = array() |
См. определение в файле options.php строка 1785
| $arVATRef = CatalogGetVATArray(array(), true) |
См. определение в файле options.php строка 1882
| $aTabs |
См. определение в файле options.php строка 1286
| $bReadOnly = !$accessController->check(ActionDictionary::ACTION_CATALOG_SETTINGS_ACCESS) |
См. определение в файле options.php строка 24
| $canUseYandexMarket = Catalog\Config\Feature::isCanUseYandexExport() |
См. определение в файле options.php строка 46
| $catalogCount = (isset($catalogData['CNT']) ? (int)$catalogData['CNT'] : 0) |
См. определение в файле options.php строка 2242
| $catalogData |
См. определение в файле options.php строка 2236
| while ( $arIBlock=$rsIBlocks->Fetch()) $catalogIterator |
См. определение в файле options.php строка 1934
| if ( $saleIsInstalled) $crmInstalled = ModuleManager::isModuleInstalled('crm') |
См. определение в файле options.php строка 39
| $currentSettings = array() |
См. определение в файле options.php строка 1301
| $currentSettings[ 'default_product_vat_included'] = Option::get('catalog', 'default_product_vat_included') |
См. определение в файле options.php строка 1306
| $currentSettings[ 'discsave_apply'] = Option::get('catalog', 'discsave_apply') |
См. определение в файле options.php строка 1302
| $currentSettings[ 'enable_processing_deprecated_events'] = Option::get('catalog', 'enable_processing_deprecated_events') |
См. определение в файле options.php строка 1307
| $currentSettings[ 'get_discount_percent_from_base_price'] = Option::get(($saleIsInstalled ? 'sale' : 'catalog'), 'get_discount_percent_from_base_price') |
См. определение в файле options.php строка 1303
| $currentSettings[ 'product_card_slider_enabled'] = Option::get('catalog', 'product_card_slider_enabled') |
См. определение в файле options.php строка 1308
| $currentSettings[ 'save_product_with_empty_price_range'] = Option::get('catalog', 'save_product_with_empty_price_range') |
См. определение в файле options.php строка 1304
| $currentSettings[ 'show_store_shipping_center'] = Option::get('catalog', 'show_store_shipping_center') |
См. определение в файле options.php строка 1309
| $currentSettings[ 'use_offer_marking_code_group'] = Option::get('catalog', 'use_offer_marking_code_group') |
См. определение в файле options.php строка 1305
| for ( $i=0, $intCount=count( $arAllOptions);$i< $intCount;$i++) $default_outfile_action = Option::get('catalog', 'default_outfile_action') |
См. определение в файле options.php строка 1737
| $enabledCommonCatalog = Catalog\Config\Feature::isCommonProductProcessingEnabled() |
См. определение в файле options.php строка 45
| if( $saleIsInstalled &&Loader::includeModule( 'sale')) if(! $crmInstalled) if (! $useSaleDiscountOnly $enableViewedProducts) = Option::get('catalog', 'enable_viewed_products') |
См. определение в файле options.php строка 1607
| $module_id = 'catalog' |
@global CMain $APPLICATION @global CUser $USER @global CDatabase $DB @global string $mid
См. определение в файле options.php строка 6
| foreach ( $priceFields as $oneField) $priceFields = CCatalogCSVSettings::getSettingsFields(CCatalogCSVSettings::FIELDS_PRICE) |
См. определение в файле options.php строка 1817
| if ( $strVal !='') $productFields |
См. определение в файле options.php строка 1791
| $rsIBlocks = CIBlock::GetList(array('IBLOCK_TYPE' => 'ASC','ID' => 'ASC')) |
См. определение в файле options.php строка 1892
| $rsIBlockTypes = CIBlockType::GetList(array("sort"=>"asc"), array("ACTIVE"=>"Y")) |
См. определение в файле options.php строка 1978
| $saleIsInstalled = ModuleManager::isModuleInstalled('sale') |
См. определение в файле options.php строка 33
См. определение в файле options.php строка 43
| $searchShowOfferName = Option::get('catalog', 'product_form_show_offer_name') |
См. определение в файле options.php строка 1323
| if ( $strVal !='') $sectionFields = CCatalogCSVSettings::getSettingsFields(CCatalogCSVSettings::FIELDS_SECTION) |
См. определение в файле options.php строка 1848
| $strAllowCanBuyZero = Option::get('catalog', 'default_can_buy_zero') |
См. определение в файле options.php строка 1315
| $strEnableReservation = Option::get('catalog', 'enable_reservation') |
См. определение в файле options.php строка 1318
| $strOK = "" |
См. определение в файле options.php строка 75
| $strQuantityTrace = Option::get('catalog', 'default_quantity_trace') |
См. определение в файле options.php строка 1314
| $strSaveProductWithoutPrice = Option::get('catalog', 'save_product_without_price') |
См. определение в файле options.php строка 1312
| $strShowCatalogTab = Option::get('catalog', 'show_catalog_tab_with_offers') |
См. определение в файле options.php строка 1311
| $strShowOffersIBlock = Option::get('catalog', 'product_form_show_offers_iblock') |
См. определение в файле options.php строка 1321
| $strSimpleSearch = Option::get('catalog', 'product_form_simple_search') |
См. определение в файле options.php строка 1322
| $strSubscribe = Option::get('catalog', 'default_subscribe') |
См. определение в файле options.php строка 1316
| $strUseStoreControl = Option::get('catalog', 'default_use_store_control') |
См. определение в файле options.php строка 1319
| $strVal = Option::get('catalog', 'allowed_product_fields') |
См. определение в файле options.php строка 1786
| if ( $canUseYandexMarket) $strWarning = "" |
См. определение в файле options.php строка 74
| $styleViewed = ($enableViewedProducts == 'Y' ? 'table-row' : 'none') |
См. определение в файле options.php строка 1611
| if( $canUseYandexMarket) if(! $useSaleDiscountOnly|| $catalogCount > 0) if ( $strUseStoreControl==='N' &&$catalogCount > 0 $systemTabControl) = new CAdminTabControl("tabControl2", $aTabs, true, true) |
См. определение в файле options.php строка 2339
| if ( $USER->IsAdmin()) $tabControl = new CAdminTabControl("tabControl", $aTabs, true, true) |
См. определение в файле options.php строка 1299
| $useSaleDiscountOnly = false |
См. определение в файле options.php строка 32
| $viewedCount = (int)Option::get('catalog', 'viewed_count') |
См. определение в файле options.php строка 1609
| $viewedPeriod = (int)Option::get('catalog', 'viewed_period') |
См. определение в файле options.php строка 1610
| $viewedTime = (int)Option::get('catalog', 'viewed_time') |
См. определение в файле options.php строка 1608
| const CATALOG_NEW_OFFERS_IBLOCK_NEED = -1 |
См. определение в файле options.php строка 19
| endif = $check |
См. определение в файле options.php строка 1450
| if(!empty($arRecurring)) | ( | $enabledCommonCatalog | ) | = Loc::getMessage("CAT_SAVE_PRODUCTS_WITHOUT_PRICE") |
См. определение в файле options.php строка 1400