Skip to content

Commit

Permalink
Merge pull request #1990 from mailchimp/issue1985_2.1-observeOrderSta…
Browse files Browse the repository at this point in the history
…tusChangeSystemWide

Closes #1985 for Magento 2.1
  • Loading branch information
gonzaloebiz authored Aug 30, 2024
2 parents 3e30641 + 5ac047a commit 0b9abb1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 1 addition & 4 deletions etc/adminhtml/events.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Event/etc/events.xsd">
<event name="sales_order_save_after">
<observer name="mailchimp_admin_sales_order_save_after" instance="\Ebizmarts\MailChimp\Observer\Sales\Order\SaveAfter"/>
</event>
<event name="admin_system_config_changed_section_mailchimp">
<observer name="mailchimp_admin_system_config_changed_section_mailchimp" instance="Ebizmarts\MailChimp\Observer\ConfigObserver"/>
</event>
Expand All @@ -18,4 +15,4 @@
<event name="catalog_product_delete_after">
<observer name="mailchimp_admin_product_delete_after" instance="\Ebizmarts\MailChimp\Observer\Adminhtml\Product\DeleteAfter" />
</event>
</config>
</config>
5 changes: 4 additions & 1 deletion etc/events.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Event/etc/events.xsd">
<event name="sales_order_save_after">
<observer name="mailchimp_sales_order_save_after" instance="\Ebizmarts\MailChimp\Observer\Sales\Order\SaveAfter"/>
</event>
<event name="sales_model_service_quote_submit_before">
<observer name="mailchimp_sales_model_service_quote_submit_before" instance="\Ebizmarts\MailChimp\Observer\Sales\Order\SubmitBefore" />
</event>
Expand All @@ -29,4 +32,4 @@
<event name="catalog_product_import_bunch_save_after">
<observer name="mailchimp_product_import" instance="\Ebizmarts\MailChimp\Observer\Adminhtml\Product\ImportAfter"/>
</event>
</config>
</config>

0 comments on commit 0b9abb1

Please sign in to comment.