Magento Forum

   
Add a field to categories
 
dyne
Jr. Member
 
Total Posts:  5
Joined:  2008-08-06
Montréal, Canada
 

Hi,
first of all, sorry for my english, I’m French!

I would like to upload a second image when I create a new Category.
How I can do that?

I’ve tried to add an attribute in categorie’s attribute set, but no success!
So I decided to add a new field in the database, but I am lost with all the links I have to do! (in the code and in the database)

Can you help me please?

Thanks

 
Magento Community Magento Community
Magento Community
Magento Community
 
Brandlive_br
Guru
 
Avatar
Total Posts:  653
Joined:  2008-05-19
Buenos Aires, Argentina
 

The categories use entities and attrbiutes.
You need to create a new entity for categories (for example: category_second_image).
After you create de entity and associate with categories, you can look that new entity/field in your categories form.
Take a look with that, find how Magento implements the others categoiry fields and copy & paste. (Lol).
Let me know if you can add your field… I made that modification and I think that I got some document somewhere.

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