Show product attributes in list.phtml - Magento

前端 未结 4 1832
有刺的猬
有刺的猬 2021-01-03 06:39

Hello I have read many posts about this, and while it works its not complete.

For example; Attribute 1= shoesize and attribute 2 = shoe color. Both are in a dropdown

4条回答
  •  悲&欢浪女
    2021-01-03 07:00

    Try this:

    $_pp2 = Mage::getModel('catalog/product')->load(    $_product->getId()    );
    echo $_pp2->getdm();
    

    in:

     
            
    

    Attribute Code:dm

    Type: Text area
    

    in view.phtml

    echo $_product->get>getdm(); ?>
    

提交回复
热议问题