• Модуль: catalogmobile
  • Путь к файлу: ~/bitrix/modules/catalogmobile/lib/ProductWizard/ConfigQuery.php
  • Класс: BitrixCatalogMobileProductWizardConfigQuery
  • Вызов: ConfigQuery::getInventoryControlConfig
private function getInventoryControlConfig(): array
{
	return [
		'isInventoryControlEnabled' => BitrixCatalogConfigState::isUsedInventoryManagement(),
		'isQuantityControlEnabled' => Option::get('catalog', 'default_quantity_trace', 'N') === 'Y',
	];
}