1
0
mirror of synced 2024-12-01 09:16:02 +03:00
magento-module/etc/events.xml

23 lines
762 B
XML
Raw Normal View History

2017-05-31 15:24:46 +03:00
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Event/etc/events.xsd">
2018-03-12 16:34:48 +03:00
<!-- Order create -->
2017-05-31 15:24:46 +03:00
2018-03-12 16:34:48 +03:00
<event name="sales_order_save_after">
<observer name="sales_order_save_after" instance="Retailcrm\Retailcrm\Model\Observer\OrderCreate" />
</event>
<!-- Order update -->
<event name="sales_order_save_commit_after">
<observer name="sales_order_save_commit_after" instance="Retailcrm\Retailcrm\Model\Observer\OrderUpdate" />
</event>
<!-- after customer save -->
<event name="customer_save_after">
<observer name="customer_save_after" instance="Retailcrm\Retailcrm\Model\Observer\Customer" />
</event>
2017-05-31 15:24:46 +03:00
</config>