Magento 1.9 – Display Custom Attributes Outside Product Page

magento-1.9

I'm having this problem where i want to display a custom attribute outside the product page in magento. (view.phtml).

For example. I would like to display custom attribute (its value) to specific place in list.phtml (not navigation layout) and in home page. I tried so many solution, but nothing worked.

Any guidance or assistance would be very appreciated.

Best Answer

To display a custom product attribute on the product list page

Go Admin -> Catalog -> Attributes -> Manage Attributes

Set "Used in Product Listing" to Yes

Then in 'list.phtml'

Add $_product->getData('attribute_name_here')

Related Topic