Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.
For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email email@example.com.
hi, i’m subclassing the shipping model and during collect rates i want to get the values of certain attributes of the items in the cart
the attributes don’t seem to have a getValue() method, does anyone know how to access them?
Well, there is another option ($_product->getAttributeName()), but i suppose that if you cant get it with both methods it mean that product collection is missing your custom attributes so you will need to add them with addAttributeToSelect
i try to access custom attributes from the cart.phtml and it returns NULL. where should we add the nedded attribute name through addAttributeToSelect? in the navigation .php i did it for another usage before - it works. but for the cart?