How to add column to display sku in wishlist tab of customer view in magento admin panel?
In app/code/core/Mage/Adminhtml/Block/Customer/Edit/Tab/View/Wishlist.php, i have added below code under protected function _prepareColumns() to add SKU column in wishlist tab:
$this->addColumn('sku', array(
'header' => Mage::helper('customer')->__('SKU'),
'index' => 'sku',
'width' => '100px'
));
After adding this code, SKU column is added but values (i.e. SKU of product) are not shown under this column.
Please help. How to display these values under SKU column.
$sku = Mage::getModel('catalog/product')->load($_product->getId())->getSku();
– Andrei