In which file will the event observer be declared?

You have created a custom module which must perform an action immediately after an order is placed, but only on the store front of the merchant site. You have selected the checkout_submit_all_after as the target event which the module will observe.

In which file will the event observer be declared?
A . etc/frontend.xml
B . etc/events.xml
C . etc/config.xml
D . etc/frontend/events.xml

Answer: D

Explanation:

Reference: https://magento.stackexchange.com/questions/128548/trigger-event-after-an-order-has-been­created-saved/128565

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments