1

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

1 Answer 1

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',
    ));
1
  • Thanks Martins Its work perfectly :) Commented Apr 28, 2017 at 11:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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