• Модуль: catalog
  • Путь к файлу: ~/bitrix/modules/catalog/lib/product/quantitycontrol.php
  • Класс: BitrixCatalogProductQuantityControl
  • Вызов: QuantityControl::setValue
static function setValue(string $type, $productId, int $storeId, $value): void
{
	if (!isset(self::$values[$type]))
	{
		self::$values[$type] = [];
	}
	if (isset(self::$values[$type][$productId]))
	{
		self::$values[$type][$productId] = [];
	}
	self::$values[$type][$productId][$storeId] = (float)$value;
}