Upgrade the attribute label

<?php $this->startSetup(); $this->addAttribute(Mage_Catalog_Model_Category::ENTITY, ‘custom_dropdown’, array( ‘group’ => ‘General Information’, ‘input’ => ‘select’, ‘type’ => ‘text’, ‘label’ => ‘Updated Custom Dropdown’, ‘backend’ => ”, ‘visible’ => true, ‘required’ => false, ‘visible_on_front’ => true, ‘global’ => Mage_Catalog_Model_Resource_Eav_Attribute::SCOPE_GLOBAL, ‘source’ => ‘customfeaturedattribute/source_custom’, )); $this->endSetup();

<?php
$this->startSetup();
$this->addAttribute(Mage_Catalog_Model_Category::ENTITY, 'custom_dropdown', array(
    'group'         => 'General Information',
    'input'         => 'select',
    'type'          => 'text',
    'label'         => 'Updated Custom Dropdown',
    'backend'       => '',
    'visible'       => true,
    'required'      => false,
    'visible_on_front' => true,
    'global'        => Mage_Catalog_Model_Resource_Eav_Attribute::SCOPE_GLOBAL,
    'source' => 'customfeaturedattribute/source_custom',
));
 
$this->endSetup();

Share this Tutorial