Skip to main content
1 of 2
Mani Dev
  • 97
  • 2
  • 2
  • 10

how to get product details in admin grid?

here is my prepareCollection from this how to get product name and price and statsus

protected function _prepareCollection() { $store = $this->_getStore(); $collection = Mage::getModel('catalog/product_link')
->getCollection() ->addFieldToFilter('product_id',$this->_getProductId()) ->addFieldToFilter('link_type_id','1'); $this->setCollection($collection); return parent::_prepareCollection(); }

Mani Dev
  • 97
  • 2
  • 2
  • 10