1

I want to add new column in the product grid in magento admin to show the frontend product url .

0

You need to extend

Mage_Adminhtml_Block_Catalog_Product_Grid

and add another column

in _prepareCollection add line

    ->addAttributeToSelect('url_key')

And in _prepareColumns

$this->addColumn('url_key',
        array(
            'header'=> Mage::helper('catalog')->__('Url'),
            'index' => 'url_key',
    ));
  • Thanks Martins Its work perfectly :) – Arvind Kumar Apr 28 '17 at 11:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.