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

Getting the primary key of a the option for a newly saved attribute
 
dtrain
Jr. Member
 
Total Posts:  8
Joined:  2010-04-30
 

Hi all,

I am saving a new option for an attribute programatically using the sytax $att->save(); Can anyone suggest how I can retrieve the option_id of the new option that I created as part of saving the attribute?

Thanks in advance.

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