• Модуль: catalog
  • Путь к файлу: ~/bitrix/modules/catalog/lib/component/gridvariationform.php
  • Класс: BitrixCatalogComponentGridVariationForm
  • Вызов: GridVariationForm::getFieldValue
protected function getFieldValue(array $field)
{
	if ($field['entity'] === 'money')
	{
		return $this->getMoneyFieldValue($field);
	}

	if ($field['entity'] === 'barcode')
	{
		return $this->getBarcodeValue();
	}

	if (isset($field['originalName']) && $field['originalName'] === 'QUANTITY_COMMON')
	{
		return $this->getCommonQuantityFieldValue();
	}

	return parent::getFieldValue($field);
}