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

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