• Модуль: catalog
  • Путь к файлу: ~/bitrix/modules/catalog/lib/controller/product/base.php
  • Класс: BitrixCatalogControllerProductBase
  • Вызов: Base::processBeforeAction
protected function processBeforeAction(Action $action)
{
	$arguments = $action->getArguments();
	$name = $action->getName();

	if ($name === 'getfieldsbyfilter')
	{
		$arguments['filter']['productType'] = static::TYPE;
		$action->setArguments($arguments);
	}

	return parent::processBeforeAction($action);
}