How to Create Events and Observer in Magento 2
In this example we will should you How to create a event in Magento 2, we only catch the event to show the word Magetop – Event on the frontend so we should create an events.xml file in etc/frontend folder.
Read more