• Модуль: catalog
  • Путь к файлу: ~/bitrix/modules/catalog/lib/product.php
  • Класс: BitrixCatalogProductTable
  • Вызов: ProductTable::prepareSubscribe
static function prepareSubscribe($value)
{
	if ($value == self::STATUS_DEFAULT)
	{
		if (empty(self::$defaultProductSettings))
			self::loadDefaultProductSettings();
		return self::$defaultProductSettings['SUBSCRIBE'];
	}
	return $value;
}