Hello, My name is Cuong, I’m a Magento Developer, Welcome back to my Magento 2 tutorial video series. #magento2tutorial #magento2training #magento2
Let’s see this we check the website
You can check it on the storefront. We will move all these to the footer.
So what will we do in this practice?
Okie, let’s go.
– Create the namespace PHPCuong in the path appcode
Step 2: Subscribing to the event named controller_front_send_response_before
You can see this event name here.
Step 3: Test and See the results
1. Run the following command lines:
php bin/magento setup:upgrade –keep-generated
php bin/magento cache:flush
2. Go to the storefront.
Yeah, It works perfectly.
Thanks for watching the guide. If you have any questions about this practice, please feel free to leave a comment below.
Don’t forget to like, comment, share my videos and subscribe to my channel for getting the latest lessons.
Please do not hesitate to contact me, if you need me to join your Magento project. My rate is $25/hour in Magento 1 and $30/hour in Magento 2.
Get the source code of this tutorial in the Github