Skip to content

Commit

Permalink
https://github.com/mage2pro/ipay88/issues/16
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrii-fediuk committed Aug 23, 2018
1 parent d241b49 commit 379697c
Showing 1 changed file with 30 additions and 1 deletion.
31 changes: 30 additions & 1 deletion etc/adminhtml/system.xml
Original file line number Diff line number Diff line change
Expand Up @@ -170,11 +170,40 @@ because the value can contain variables, so do not know the real length here. --
</depends>
<source_model>Df\Payment\Source\Options\DisplayMode</source_model>
</field>
<field
id='optionsLimit'
showInDefault='1' showInStore='1' showInWebsite='1'
sortOrder='11'
translate='label'
type='Df\Framework\Form\Element\Checkbox'
>
<label>Limit the payment options availability?</label>
<backend_model>Df\Config\Backend\Checkbox</backend_model>
<comment><![CDATA[If checked, only the selected options will be shown to the customers.]]></comment>
<depends><field id='enable'>1</field></depends>
</field>
<field
dfMultiselect_ordered='true'
id='optionsAllowed'
showInDefault='1' showInStore='1' showInWebsite='1'
sortOrder='12'
translate='label'
type='Df\Framework\Form\Element\Multiselect'
>
<label>Allowed Payment Options</label>
<source_model>Dfe\IPay88\Source\Option</source_model>
<comment><![CDATA[Only the selected options will be shown to the customers on the Magento checkout screen or on the allPay payment page (it depends on your choice for the «Where to ask for a payment option?» option above).<br/>You can <b>reorder</b> the options by drag and drop.]]></comment>
<validate>required-entry</validate>
<depends>
<field id='enable'>1</field>
<field id='optionsLimit'>1</field>
</depends>
</field>
<field
dfRows='4'
id='messageFailure'
showInDefault='1' showInStore='1' showInWebsite='1'
sortOrder='11'
sortOrder='13'
translate='label'
type='Df\Framework\Form\Element\Textarea'
>
Expand Down

0 comments on commit 379697c

Please sign in to comment.