Web Hosting Geeks | Web Hosting Experts
Need help? Call us 1(866)TOP-HOST

14655 reviews 1734 hosting providers

Questions & Answers

How do can I sort the Attrb. Set Name in Magento?

Jan 27, 2013 by reema40
Hi there
My Attrib. Set Name drop down list is sorted by ID (some one has previously changed it) and now I want to sort it in alphabetical order instead but I cant figure out how the attribute name is controlled and what files determines how the list is displayed. Can anyone please advice?
Many thanks in advanced

1 Answer

0 votes
Jan 27, 2013 by expert
Change the attribute_set_id in the table  eav_attribute_set to attribute_set_name, then add a new attribute set and save.   In the file ->\website\app\code\core\Mage\Adminhtml\Block\Catalog\Product\grid.php
‘header’=> Mage::helper(’MyCatalog’)->__(’Attrib. Set Name’),
‘width’ => ‘110px’,
‘index’ => ’attribute_set_id‘,
‘type’ => ‘options’,
‘options’ => $sets,