Magento provides multiple types of logs by default (info, notice, warning, critical etc) Recently I had to use custom log files for a custom module that I implemented. I will try to explain here the multiple approaches to do that, a) Set a custom file in your module’s di.xml file In the di.xml file of […]
Tag: Modules
Payment Methods in Magento
These days I am working on Payment Module. I am writing here the code which is useful and related to Payment module 1) To fetch the existing Payment Methods There is a payment module helper file existing in default Magento, which is really very helpful. Path – app/code/core/Mage/Payment/Helper/Data.php 2) To fetch only enable Payment Methods […]
Customer Groups in Magento
Hello All, I am writing here a script for displaying a select box of customers group. There exists a Helper file for Customer at app/code/core/Mage/Customer/Helper/Data.php . We need to extend this class for using the default function Create a sample module inside local I have used the Namespace ‘Decryptweb’ for my custom module. For custom […]
Develop,Package and Install Magento Module/Extension
This is very useful for those who are working in Magento eCommerce. After making an module (I will post the method to develop a module within few days). You can also refer this link for time being Develop Custom Magento Module for creating module. You have to package the module after developing which is explained […]