$attribute = Mage::getModel('eav/config')->getAttribute('catalog_product', """"Attribute Name """");
foreach ( $attribute->getSource()->getAllOptions(true, true) as $option ):
echo $option['value'] ;
echo $option['label'];
endforeach;
This is the blog for getting Idea regarding PHP, Magento, jQuery and JavaScript for Customization.
Copyright © 2016 PHP SOLUTIONS
No comments:
Post a Comment