26 lines
1.5 KiB
XML
26 lines
1.5 KiB
XML
<?xml version="1.0"?>
|
|
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Config:etc/system_file.xsd">
|
|
<system>
|
|
<tab id="esun" translate="label" sortOrder="300">
|
|
<label>Esun</label>
|
|
</tab>
|
|
<section id="esun_customer_coupon" translate="label" type="text" sortOrder="360"
|
|
showInDefault="1" showInWebsite="1" showInStore="0">
|
|
<label>Customer Coupons</label>
|
|
<tab>esun</tab>
|
|
<resource>Esun_CustomerCoupon::configuration</resource>
|
|
<group id="registration_subscription" translate="label" type="text" sortOrder="10"
|
|
showInDefault="1" showInWebsite="1" showInStore="0">
|
|
<label>Registration Subscription Coupon</label>
|
|
<field id="rule_id" translate="label comment" type="select" sortOrder="10"
|
|
showInDefault="1" showInWebsite="1" showInStore="0">
|
|
<label>Cart Price Rule</label>
|
|
<comment>Selecting a rule enables the reward. Only active rules that allow auto-generated coupons are listed. Configure the $299 minimum, $24 fixed discount, usage limits and stacking behavior on the Cart Price Rule itself.</comment>
|
|
<source_model>Esun\CustomerCoupon\Model\Config\Source\AutoGeneratedCartRule</source_model>
|
|
</field>
|
|
</group>
|
|
</section>
|
|
</system>
|
|
</config>
|