Add Extra column inside Product Grid Magneto


Go to : app/code/core/Mage/Adminhtml/Block/Catalog/Product/Grid.php
Search function _prepare Columns : around line 107.

<?php
<pre>protected function _prepare Columns()
{
 .....
 $this->addColumn('name',
  array(
   'header'=> Mage::helper('catalog')->__('Name'),
   'index' => 'name',
 ));

 //below this add HPC Grid Updated time stamp show 2011.08.08
  $this->addColumn('updated_at', array(
            'header' => Mage::helper('catalog')->__('HPC Date Updated'),
            'index' => 'updated_at',
            'type' => 'datetime',
            'width' => '100px',
        ));
 //

 .....
}</pre>
?>

Share on Facebook




About Pragnesh Karia

Pragnesh Karia, Open Source Enthusiast, Software Professional, Software Developer, Technical Lead ,Magento, Joomla ,Joomla LMS , Moodel LMS ,PHP ,Mysql, Ajax, Javascript, Jquery, Linux, Fan of Open Sources , Annet Technologies , SEO Analyst , Mootools