When going to edit a configurable product, it would be nice to see the status (enabled/disabled) of each of the simple products when going to Associated products tab. I'm not using the stock options but instead managing products by their status manually so this is the only way to see if the associated products are in use or not. Any idea how to achieve this?
I found out one way it could be done is by adding something like the following in /app/core/code/Adminhtml/Block/Catalog/Product/Edit/Tab/Super/Config/Grid.php
$this->addColumn('status', array(
'header' => Mage::helper('catalog')->__('Status'),
'renderer' => 'adminhtml/catalog_product_edit_tab_super_config_grid_renderer_status',
'filter' => 'adminhtml/catalog_product_edit_tab_super_config_grid_filter_status',
'index' => 'status'
));
The above code snippet is a copy of the way in which the SKU is added to the grid. My problem is I cannot find where e.g. "adminhtml/catalog_product_edit_tab_super_config_grid_renderer_sku" or "adminhtml/catalog_product_edit_tab_super_config_grid_sku" are defined so I could clone the functionality.
Any tips where to look would be welcome...might not be a good idea to edit the core files anyways so tip of how to do this with an extension would be appreciated :)