3namespace Sale\Handlers\DiscountPreset;
5use Bitrix\Main\Localization\Loc;
6use Bitrix\Sale\Discount\Preset\Manager;
7use Bitrix\Sale\Discount\Preset\State;
13 return Loc::getMessage(
'SALE_HANDLERS_DISCOUNTPRESET_FREEDELIVERY_NAME');
26 return Manager::CATEGORY_DELIVERY;
29 protected function renderDiscountValue(State $state,
$currency)
34 public function processSaveInputAmount(State $state)
36 $state[
'discount_type'] =
'Perc';
37 $state[
'discount_value'] =
'100';
39 return parent::processSaveInputAmount($state);