Custom Attribute Config.xml

<?xml version="1.0"?> <config> <modules> <Addpeople_CustomFeaturedAttribute> <version>0.0.2</version> </Addpeople_CustomFeaturedAttribute> </modules> <global> <models> <customfeaturedattribute> <class>Addpeople_CustomFeaturedAttribute_Model</class> </customfeaturedattribute> </models> <resources> <add_category_attribute> <setup> <module>Addpeople_CustomFeaturedAttribute</module> <class>Mage_Catalog_Model_Resource_Setup</class> </setup> <connection> <use>core_setup</use> </connection> </add_category_attribute> <add_category_attribute_write> <connection> <use>core_write</use> </connection> </add_category_attribute_write> <add_category_attribute_read> <connection> <use>core_read</use> </connection> </add_category_attribute_read> </resources> </global> </config>

<?xml version="1.0"?>
<config>
    <modules>
        <Addpeople_CustomFeaturedAttribute>
            <version>0.0.2</version>
        </Addpeople_CustomFeaturedAttribute>
    </modules>
 
    <global>
        <models>
            <customfeaturedattribute>
                <class>Addpeople_CustomFeaturedAttribute_Model</class>
            </customfeaturedattribute>
        </models>
        <resources>
            <add_category_attribute>
                <setup>
                    <module>Addpeople_CustomFeaturedAttribute</module>
                    <class>Mage_Catalog_Model_Resource_Setup</class>
                </setup>
                <connection>
                    <use>core_setup</use>
                </connection>
            </add_category_attribute>
            <add_category_attribute_write>
                <connection>
                    <use>core_write</use>
                </connection>
            </add_category_attribute_write>
            <add_category_attribute_read>
                <connection>
                    <use>core_read</use>
                </connection>
            </add_category_attribute_read>
        </resources>
    </global>
</config>

Share this Tutorial