Month: January 2016

How to check if customer is logged in or not in Magento 2?

As we know, there are so many situation where we require to check whether customer is currently logged in or not. In this blog post you will learn about how to check customer is logged in or not in Magento 2. In order to check this situation you can use below code snippet.

Once…

Magento 2 – How to Reindex using Command line

In Magento 1.x, store owner can directly do reindex from Index management. But in Magento 2.x there is no direct options available for Reindex from backend. As Magento 2.x provides reindex using command line. So lets discuss about how to do reindex using command line. If you need to do whole index management in the…

Magento – How to show 4 products per row on category page?

Magento by default provides us a very good template for displaying different different pages. It also provides variety of layout files to display different pages with different different layouts. But for our convenience we need to do some modifications in the default layout of magento. One of the most common issue for product display is…

Magento – Disable Admin Notification Popup

Every time you log in to the Magento Admin Panel, you will see an admin magento notification popop message. From the developer point of view, it’s best way to stay informed about new updates. But end client never like these pop up on every login about which they don’t know anything. In this post I…

Magento – How to Add sitemap.xml file

Sitemaps allow website owners to inform search engines what pages on their website are available for crawling. Do not worry. You do not need to manually enter every single URL from your website in order to create your sitemap. Magento comes bundled with the ability to generate a Google sitemap. Google sitemaps are XML files…