magento - Get product information of items added in cart -


i need product's information in shopping cart. mean if add product in cart need product id , category id of item.

i want information of product attributes (e.g product's id, price, parent id) whenever product added cart @ shopping cart. how can that?

$catid = mage::getmodel('catalog/category')->load($this->getproduct()-> getcategoryids($_item->getproductid()))->getname(); 

i have written code @ /checkout/cart/item/default.phtml , can follow step work out surely.

this answer , follow instruction accordingly mr. benmarks. have started posting stackoverflow. working on solution product in 1 or more categories.

sorry if have misinterpreted anything.


Comments

Popular posts from this blog

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

reactjs - React router and this.props.children - how to pass state to this.props.children -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -