Get the array of all attribute options in Magento (Revisited)


It’s been some time since we first written snippet on this subject. Since than, a lot has changed in Magento work, so we felt it would be appropriate to update and refresh it a bit.

Often, we have the need to get the list of all options for particular product attribute. We either want to list all the brands who’s products we are selling or create a page with size charts…

Hope you find it helpful!