How to create custom events in Magneto 2 ??
Step 1. app/code/Extendtree/Customevent/etc/events.xml
Step 2. Dispatch the event.
Step 3. Create Observer file & declare method in app/code/Extendtree/Customevent/Observer/Observer.php
Thank you..!!
"The easy way for everything."
No comments :
Post a Comment