Magento 2: How Products Are Showing in Recently Viewed Products Widget

We all know that recently viewed products are easy to show anywhere on a Magento 2 website. There are many ways to show recently viewed products. The easiest way would be the widget way. For example, if you add the…

Magento 2: How Can Add Js/Css Through Layout Update XML File

Magento 2 introduced <head /> and <body /> nodes which we can use in our layout update xml file in order to change it’s contents. However this raises lot of confusions. Here I would like to discuss about a loosely…

Magento 2: What is Default Controller

If you are a Magento 1 developer, then it would be familiar that M1 has default controller (IndexController.php) and default method (indexAction()). This means, if there is nothing specified after a frontname, for example, a URL looks like www.example.com/frontname/ instead…