I want to get items that added to checkout car and show that/those in other page in a specific div.
Items that I want to show like below image:
I just want the box that show product with price and I don't need to show Total.
I also test this code but it doesn't work:
$cart = Mage::getModel('checkout/cart')->getQuote();
foreach ($cart->getAllItems() as $item) {
$productName = $item->getProduct()->getName();
$productPrice = $item->getProduct()->getPrice();
}
How can I do this?
UPDATED:
And also Ii want when I remove a product from this div it is remove from checkout cart too.
Thanks For Helping me.