• Модуль: catalog
  • Путь к файлу: ~/bitrix/modules/catalog/lib/component/baseform.php
  • Класс: BitrixCatalogComponentBaseForm
  • Вызов: BaseForm::getCatalogParametersSectionConfig
protected function getCatalogParametersSectionConfig(): array
{
	$catalogParameters = [
		['name' => 'QUANTITY_TRACE'],
		['name' => 'CAN_BUY_ZERO'],
		['name' => 'SUBSCRIBE'],
	];

	if ($this->isQuantityTraceSettingDisabled())
	{
		array_shift($catalogParameters);
	}

	return [
		'name' => 'catalog_parameters',
		'title' => Loc::getMessage('CATALOG_C_F_STORE_SECTION_TITLE'),
		'type' => 'section',
		'elements' => $catalogParameters,
		'data' => [
			'isRemovable' => false,
		],
		'sort' => 200,
	];
}