$attribute = Mage::getSingleton('eav/config')->getAttribute('catalog_product', 'color'); if ($attribute->usesSource()) { $options = $attribute->getSource()->getAllOptions(false); }
No comments:
Post a Comment