Magento 2 is a great open-source ecommerce platform. It has wide variety of features, gives you full control on design, has large community and so on. But most important nowadays is that Magento is one of the most search engine friendly e-commerce platforms. Many store owners do not use all its power due to a […]read more
To enable template path hints in Magento: Login to the magento back-end Go to System > Configuration Go to Developer section on the bottom left under ADVANCED Switch to the store view on the top left to your current website or store view. Open Debug and set “Template Path Hints” = Yes. Optionally you can […]read more
Sometimes you might get “Fatal error: Allowed memory size of …” PHP error. Usually this means that you run out of memory. It is recommended to double check your code and profile your app with xDebug. It should tell you which function is called how often and how much memory it eats. However, the code […]read more
It is common magento issue. You open product page and have quantity set to “0”. This is not good. Customer think that if the quantity is 0 it normally means nothing will be added to the cart. Setting default product quantity to 1 make your site more user friendly. It is pretty easy to fix. […]read more
Extending modules instead of modifying them is a good practice in Magento development. But what will happen if in Magento two modules extend same class? This can occur when two extensions extend same class for own needs. In this case only the last one will get benefit from extending it. And the first one will […]read more
Most magento extension has its own section in admin configuration. Sometimes you want to have one of configuration groups to be expanded. All you need to do is add expanded parameter to it. It will define whether the group is expanded by default when viewing that particular tab section. Configuration section / groups defined in […]read more
It is pretty easy to restrict access to magento admin area in nginx. Basically you need to update configuration file and restart it.
All commands applicable for debian. There might be different syntax for other versions.
It is pretty common magento error. Even if you yourself don’t use helper, Magento admin does. You should always create helper class in your custom module. File location depends on module code pool and could be located in ….read more