I need to add some custom logic in my extension after
- Edit Account Information
- Change Password
- Edit Address
customer_save_after_data_object event can be used for case 1. How about 2 & 3?
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.Sign up to join this community
You can use below events for 3rd point.
<event name="customer_address_save_after"> <observer name="customer_addres_after_save_viv_observer" instance="Magento\Customer\Observer\AfterAddressSaveObserver" /> </event>
<event name="customer_address_save_before"> <observer name="customer_address_before_save_viv_observer" instance="Magento\Customer\Observer\BeforeAddressSaveObserver" /> </event>
Hope this helps.