Try the Demo

Magento Forum

   
Eav Attribute options
 
tman_f
Sr. Member
 
Total Posts:  85
Joined:  2008-02-12
 

Hi all,

I would like to create an attribute for an entity that will have a predefined set of values to use in a select box. I understand how to add attributes and declare their frontend_input type. Also, I have noticed the tables: “eav_attribute_option” and “eav_attribute_option_value”. The question is, if I populate those tables with corresponding id’s and values, is there a method that would return an array of all the options, after I have instantiated the eav/attribute model and loaded the appropriate attribute?

thanks

tman

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