简体   繁体   中英

How to add an attribute value to magento grid or list product view

I have an attribute that currently is appeared into the product page.

How can i add it to product grid and list view in categories?

How can i add it to widgets grid view too? (such as latest products etc)

Magento version is 1.8.1.0

First, make sure the attribute is add to the product flat table in Catalog > Attributes > Manage Attributes . See https://magento.stackexchange.com/questions/5519/missing-attributes-on-product-list

Then modify your phtml accordingly

/app/design/frontend/default/[theme]/template/catalog/product/list.phtml

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM