How to add custom "table-like" configuration field in Magento adminIn this post I’ll show you an example of adding custom “table-like” system configuration field in Magento admin. And by “table-like” I mean something like this:..March 27, 2017 | #magento
Changing the trigger DEFINER in Magento database dumpIf you’re about to work with Magento EE 1.13+ & have the database dump on your hands, you might want to check & change the trigger DEFINER statements of it...July 16, 2016 | #magento
Returning JSON response from Magento controller actionHere’s quick example of how to return JSON response from Magento controller action. Assuming you have already created appropriate XML configuration and controller class/file, just add the following code to your action:..June 16, 2016 | #magento
Add custom product, category and CMS page tabs in Magento adminAdding custom product, category or CMS page tabs in Magento admin can be challenging task if you haven’t done it before and do not know where to start...April 10, 2016 | #magento
Programmatically change store config to avoid rewrites in MagentoHere’s a nice strategy to achieve a desired functionality in Magento while completely avoiding class rewrites - programmatically changing the store configuration via observers prior to core code execution...March 18, 2016 | #magento
Load customer by custom attribute in MagentoHere is an example of slightly more advanced approach of how to load customer in Magento - load customer by attribute value - be it some default attribute or a custom one...February 1, 2016 | #magento
Load customer by email in MagentoAnother example of how to load customer in Magento - this time - by customer email. Previously we looked at how to load customer by ID in Magento, now we will do the same, but using the customer email address...February 1, 2016 | #magento
Load customer by ID in MagentoHere is a quick example of how to load customer by its ID in Magento. It is a standard load method that is used across all Magento models...February 1, 2016 | #magento
Get current store ID in MagentoThis here is a really short example of how to retrieve current store ID in Magento. Additionally to that, an example of getting current store object and some of its data...January 28, 2016 | #magento