As we all know, there is a feature in Magento1 to set a product as new for a date duration. This feature is available in Magento 2 also.
Magento 2 introduced
<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 coupled feature (or bug ?) which we can see if tries to add js/css via layout update xml file. Following code will add a js into our page. File :
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 of traditional
www.example.com/frontname/something1/something2, then M1 looks for default controller and default method inside the module where front name is defined as
Here I will show you how we can get the final price of an associated product which is associated with a configurable product.
Yes, You heard it right. It is better to be keep all backend types of your select attributes in
INTtype. This is so important because that will avoid lot of headaches in future. If you want to know more details, please keep on reading.
Magento has some built-in configurations to merge all css and js files. This is highly helpful since it helps to improve page load speed and thus it improves overall SEO of our site.