getAttribute('catalog_product', 'color'); //"color" is the attribute_code $allOptions = $attribute->getSource()->getAllOptions(true, true); foreach ($allOptions as $instance) { $id = $instance['value']; //id of the option $value = $instance['label']; //Label of the option } ?>