ask-sheldon.com
Get all attribute options | Bravehartk2's Blog
To get all attribute options from a Magento dropdown attribute (select field) you can use the following snippet: [crayon-5df43fb5aa22c539871224/] That gives you an array like that: [crayon-5df43fb5aa23c958343275/] This can be used as source for a system config field for example. See my blogpost about Category dropdown element. To get a specific value by given label, you can …