Declarative Schema in Magento 2.3 When I was creating a module I notice new thing in Magento 2.3. Magento 2.3 core modules used declarative schema approach instead of setup upgrade script. This is new [...]
Debugging technique in Magento 2 Following are the steps that you will follow to Debugging in Magento 2: Enable Developer mode The first thing you must do is to enable the developer mode. So it will [...]
Most of you probably know that Magento uses EAV database structure for categories, products. In some cases this solution is not the best or fastest.I will show you here example how to speed up product collection. Magento has config option: "Use Flat Catalog Category" and “Use Flat Catalog Product”.
As we all know, there are so many condition where we need to check whether customer is currently logged in or not for specific functionality. In this blog post you will have idea about how to check if customer is logged in or not in Magento 2.
Magento : SQLSTATE[HY000]: General error: 1205 Lock wait timeout exceeded; try restarting transaction
SQLSTATE[HY000]: General error: 1205 Lock wait timeout exceeded; try restarting transaction. This issue is called Deadlock issue. Some times it is caused on the database.