Feb 20, 2012
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
<?php
$payment_helper = Mage::helper('payment');
$method_list = $payment_helper->getPaymentMethodList();
echo...
read more
Jul 31, 2011
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 module you need to add a file in etc/modules/Decryptweb_Customer.xml
The...
read more
Feb 17, 2010
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 here Package Module.
Now obviously you want to test it.
So I am writing the steps to...
read more
