最後のアイテム名、画像、URL、および価格を取得する必要があります。
$session= Mage::getSingleton('checkout/session');
foreach($session->getQuote()->getAllItems() as $item)
{
$productid = $item->getProductId();
$productname = $item->getName();
$productqty = $item->getQty();
}
これは機能していますが、画像と URL を取得できません。