I have set an attribute set in my Magento shop which has several binary attributes.
For a pulldown I need a list of ALL the attributes inside this one attribute set, including their internal name and their label. Since this pulldown should appear in places that not necessarily have a product selected I can't go the usual route of "getting the attributes of a product".
How do I go about of getting a list of all the attributes inside my set?
OK, I realised that I missed that you want the whole set of attributes, not just an individual one. Try this:
You'll then need to iterate through the array that is returned with something like:
Sorry for missing the original point, hope this helps!
Cheers, JD
In order to get all the attributes in an attribute set, you can use as:
Cheers!!
try this snippet, it should give you want you need, except for multi-select attributes.
Hope this helps, JD