11 lines
570 B
XML
11 lines
570 B
XML
<?xml version="1.0"?>
|
|
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
|
|
<preference for="Esun\CustomerCoupon\Api\CouponNotifierInterface"
|
|
type="Esun\CustomerCoupon\Model\Notification\NullCouponNotifier"/>
|
|
<type name="Magento\SalesRule\Model\ValidateCouponCode">
|
|
<plugin name="esun_customer_coupon_validate_assignee"
|
|
type="Esun\CustomerCoupon\Plugin\ValidateAssignedCouponPlugin" sortOrder="20"/>
|
|
</type>
|
|
</config>
|