I have a custom grid, where I need to add links to Product Edit pages on back-end. I was able to get product front-end URLs using a renderer, but can't get the product links on back-end.
I have tried this code, but it redirects to the "Manage products" page instead of that particular product and I'm getting an error "This product no longer exists".
$this->addColumn('action', array( 'header' => Mage::helper('catalog')->__('Action'), 'width' => '50px', 'type' => 'action', 'getter' => 'getId', 'actions' => array( array( 'caption' => Mage::helper('catalog')->__('Product Backend Url'), 'url' => array( 'base' => 'adminhtml/catalog_product/edit/productcomment_increment_id/', 'params' => array('store'=>$this->getRequest()->getParam('entity_id')) ), 'field' => 'id' ) ), 'filter' => false, 'sortable' => false, 'index' => 'stores', ));
How can I get the product edit page URLs on the back-end? Thanks for help in advance.