Web Analytics

Fill the form & Get Installation Support

    How to add custom category attribute in Magento?

    Hello folks,

    If you want to add custom category attribute to Magento then you are at right place.

    Today, I am going to show you how to create a custom attribute.

    To create a custom attribute the first step is to create a module.

    Step 1: Create a file app/code/local/Magemonkeys/Customattribute/etc/config.xml and paste the below code in that file.

    Step 2: Create a file app/etc/modules/Magemonkeys_Customattribute.xml and paste the below code in the file

    Step 3: Create a file app/code/local/Magemonkeys/Customattribute/sql/customattribute_setup/mysql4-install-0.0.1.php and paste the below code in it.

    After this you have to clear the cache and go to Catalog -> Manage Categories, you will see your new attribute in the “General Information” tab.

    Let us know by making a comment if this article helped you in your Magento development journey.

    Fill the below form if you have any Magento programming need.

      Recent Articles

      Author Info

      Author Image

      Hire A. Patel

      Get a Free Quote

        Connect With Us