草庐IT

productAttribute

全部标签

php - 了解产品页面的 productAttribute() 方法

我需要帮助来熟悉助手、他们的方法和产品属性。具体来说:$_helper->productAttribute($product,$attributeHtml,$attributeName)这是我正在使用/查看的文件:app\code\core\Mage\catalog\helper\output.phpapp\design\frontend\[themename]\template\catalog\product\view\media.phtml以下代码行生成产品图片的html。echo$_helper->productAttribute($_product,$_img,'image')