Monday, August 8, 2011

Show new product attribute on the category page list.phtml in magento

Update layout xml (catalog.xml)


  

      


        YourAttributeCode

      

  


  

      


        YourAttributeCode

      

  


also you can use
YourAttributeCode
instead of
YourAttributeCode
Update template (catalog/product/list.phtml)
add the below code in list.phtml file
 $_helper->productAttribute($_product, $_product->myAttribute(), 'my_attribute');

No comments:

Post a Comment