标签:magento
<div class="product-sku">SKU:<?php echo $_product->getSku();?>
Brand:<?php
$attributes = $_product->getAttributes();
echo $attributes[‘brand‘]->getFrontend()->getValue($_product);
?>
UNIT:<?php echo $_product->getUnit();?>
</div>
magento如何获取产品属性值 How to Obtain Custom Attribute Values in Magento
标签:magento
原文地址:http://jyb2014.blog.51cto.com/9155315/1571690