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

List Attribute Options
 
bcelenza
Member
 
Avatar
Total Posts:  44
Joined:  2008-08-27
 

Hello!

I have a product attribute in the magento admin, we’ll call it “Fruit.” In this attribute I have the options Apple, Orange, Banana, Strawberry as selectable values.

My question is: Is there a way for me to list the options for Fruit? I just want a line of code that will send me an array or comma separated list of these options (preferably with their entity ID’s).

Any way to do this?

Thanks in advance.

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