Magento - get Attribute Options of the dropdown type attribute
摘要:
$attribute_code = "color"; $attribute_details = Mage::getSingleton("eav/config")->getAttribute("catalog_product", $attribute_code); $options = $attribute_details->getSource()->getAllOptions(false); Foreach($options as $option){ echo $option["value"]; 阅读全文
posted @ 2014-04-08 21:55 冯亮 阅读(393) 评论(0) 推荐(0) 编辑