$customerId = (int) $this->getRequest()->getParam(‘id’); $customer = Mage::getModel(‘customer/customer’)->load($customerId); $userSession = Mage::getSingleton(‘customer/session’); $userSession->setCustomer($customer); Mage::dispatchEvent(‘customer_login’, array(‘customer’=>$customer)); $this->getResponse()->setRedirect(Mage::getUrl(‘customer/account’));
Here, I explain an example to add a drop down field called School in Customer Profile. The below codes are…
Product Name and Product SKU in Sales order grid: This is really very important and needed aspects of the sales…
Suppose you have a multi select attribute and you have displayed it in admin grid. You have displayed the multi…
Follow the steps to add column in sales order grid: Here by i am two column called Payment method and…
Magento seemingly makes the most mundane development tasks an exercise in patience. The over engineered PHP beast makes you do…
When you set up your store you should aim to break down as much of your product as possible. During…
In this article, I look at the mistakes I see made in Magento Stores – read it and find out…
What is a favicon?A favicon is the little icon that appears when you favourite something so that you can easily…





