Y
Y
Yury_K2015-03-20 12:25:20
Magento
Yury_K, 2015-03-20 12:25:20

How to add a column to product list in Magento admin?

I would like to add additional fields (for example, manufacturer) to the existing ones (ID, Name, Type, Attribute set, SKU, Price, Quantity, Visibility, Status) in the admin panel in the product catalog.
I do this:
Mage\Adminhtml\Block\Catalog\Product\Grid
In _prepareCollection I add
->addAttributeToSelect('manufacturer');
in _prepareColumns() add
$this->addColumn('manufacturer',
array(
'header'=> Mage::helper('catalog')->__('Manufacturer'),
'width' => '60px',
' index' => 'manufacturer',
'type' => 'options',
'options' => Mage::getSingleton('catalog/product_manufacturer')->
getOptionArray(), ));
nothing changes.
HELP

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Konstantin Smetana, 2015-03-20
@konstantin_s90

This plugin will help you: www.magentocommerce.com/magento-connect/enhanced-a...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question