I\'m trying to add a category column to the product grid. I\'ve modified Mage_Adminhtml_Block_Catalog_Product_Grid. Added the following to _prepareCollection<
Mage_Adminhtml_Block_Catalog_Product_Grid
_prepareCollection<
if you just want to add the category (not the category path) and if the product has only one category, add this to the collection-setup:
$collection->joinAttribute('catname','catalog_category/name','category_ids',null,'left');