Commit 9cc27dcd authored by acampos1916's avatar acampos1916

[PW-2212]: New installments config field to replace old row UI

* New config path has been created to avoid overwriting old formatted values
parent 7aba083e
......@@ -77,20 +77,17 @@
<tooltip>Enable installments for each credit card type.</tooltip>
<config_path>payment/adyen_cc/enable_installments</config_path>
</field>
<field id="installments" translate="label" sortOrder="220" showInDefault="1" showInWebsite="1"
showInStore="1">
<field id="installments" type="textarea" translate="label" sortOrder="220" showInDefault="1"
showInWebsite="1" showInStore="1">
<label>Installments</label>
<depends>
<field id="enable_installments">1</field>
</depends>
<tooltip>Configure your installment for each credit card type: Insert the minimum amount required to
make the configured installment available in the amount range column.
Example: if the amount range is configured to 100 and the number of installments to 4x, the shopper
will see the 4x option only if the payment total is higher or equal than 100.
</tooltip>
<frontend_model>Adyen\Payment\Block\Adminhtml\System\Config\Field\Installments</frontend_model>
<backend_model>Adyen\Payment\Model\Config\Backend\Installments</backend_model>
<config_path>payment/adyen_cc/installments</config_path>
<validate>required-entry</validate>
<comment><![CDATA[
Generate the desired installments configuration <a href="">here</a> and paste it on this field.
]]></comment>
<config_path>payment/adyen_cc/installments_code</config_path>
</field>
</group>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment