• Модуль: catalog
  • Путь к файлу: ~/bitrix/modules/catalog/lib/config/state.php
  • Класс: BitrixCatalogConfigState
  • Вызов: State::isAllowedNewPriceType
static function isAllowedNewPriceType(): bool
{
	if (Feature::isMultiPriceTypesEnabled())
	{
		return true;
	}

	return CatalogGroupTable::getCount([], ['ttl' => 86400]) === 0;
}