<?php
$attribute = Mage::getModel(‘eav/config’)->getAttribute(‘catalog_product’, ‘color’);
foreach ($attribute->getSource()->getAllOptions(true) as $option) {
echo $option[‘label’] . ‘ ‘ . $option[‘value’] . “<br />”;
}
?>
<?php
$attribute = Mage::getModel(‘eav/config’)->getAttribute(‘catalog_product’, ‘color’);
foreach ($attribute->getSource()->getAllOptions(true) as $option) {
echo $option[‘label’] . ‘ ‘ . $option[‘value’] . “<br />”;
}
?>