• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/discount/preset/selectproductpreset.php
  • Класс: BitrixSaleDiscountPresetSelectProductPreset
  • Вызов: SelectProductPreset::renderElementBlock
protected function renderElementBlock(State $state, $inputName = 'discount_product', $multi = true)
{
	if($multi)
	{
		$inputName .= '[]';
	}

	return '
		
' . Loc::getMessage('SALE_BASE_PRESET_SUB_TITLE_PRODUCTS') . '
' . Loc::getMessage('SALE_BASE_PRESET_HEAD_IMAGE') . ' ' . Loc::getMessage('SALE_BASE_PRESET_HEAD_NAME') . ' ' . Loc::getMessage('SALE_BASE_PRESET_HEAD_PROPS') . '
' . Loc::getMessage('SALE_BASE_PRESET_EMPTY_PRODUCT_NOTICE') . '
'; }