Sometimes we need to show thumbnail image for custom attribute in magento admin grid. As we might know it is…
2013 July
Are you using date-time functions (date(), time(),now(), etc) directly inside magento ??? Think twice man !!! Even though time is…
$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…