如何将属性值添加到magento网格或列出产品视图

时间:2014-06-20 12:08:49

标签: php magento e-commerce shopping-cart

我有一个当前出现在产品页面中的属性。

如何将其添加到产品网格和列表视图中?

我如何将它添加到小部件网格视图中呢? (如最新产品等)

Magento版本为1.8.1.0

1 个答案:

答案 0 :(得分:1)

首先,确保该属性已添加到Catalog > Attributes > Manage Attributes中的产品平台。见https://magento.stackexchange.com/questions/5519/missing-attributes-on-product-list

然后相应地修改你的phtml

  

/应用/设计/前端/默认/ [主题] /template/catalog/product/list.phtml