Magento 2 Tips and Tricks

How to add custom js code in head – Magento 2 beginners guide

There are several different ways how to include custom javascript code into a head part of your page. But in this article I would like to cover the easiest one …

Magento 2: Get product by SKU or ID

There are two different ways, how to get product in Magetno 2: object manager method and dependency injection. The object manager method is easier, but according to Magento 2 documentation, …

Magento 2: How to get store id or name using objectmanager

According to Magento 2 documentation to use object manager is not recommend. But in some cases this method can be very useful and time saver. I am always using it …