Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

How to create or change input field in catalog
 
leon_developer
Jr. Member
 
Avatar
Total Posts:  5
Joined:  2012-09-02
 

In Catalog > Manage Categories
Under ’Custom Design‘ tab, I want to add a new field just below ’Apply to Products‘.

Upon searching I found a php file

app\code\core\Mage\Catalog\controllers\CategoryController.php

but I cannot find where exactly is it creating those tabs ’Custom Design‘ and how is it adding the fields.

Since it is not a good idea to change admin panel files, which class do I need to inherit from to create an extension that adds a field in the edit category ?

 
Magento Community Magento Community
Magento Community
Magento Community
 
leon_developer
Jr. Member
 
Avatar
Total Posts:  5
Joined:  2012-09-02
 

I have found it is loading fields in

app\code\core\Mage\Adminhtml\Block\Catalog\Category\Tab\Design.php

and it seems field are defined in database

catalog_eav_attribute table and eav_attribute table

if I add a new field in database then will it add the field under ’Custom Design‘ tab?

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top