clockworkgeek はその答えからここに着手しましたが、製品の数量、価格、そしてカートの合計価格も表示する必要がありました。Magento のドキュメントはせいぜい密度が高いため、検索した結果、Magento でカートの内容をフォーマット用のテーブル HTML とともに表示するための答えを以下に示します。
<?php $quote = Mage::helper('checkout')->getQuote(); //gets the cart contents ?>
<table>
<thead>
<th>Product</th>
<th>Quantity</th>
<th>Price/ea.</th>
<th>Total</th>
</thead>
<?php foreach ($quote->getItemsCollection() as $item) { ?>
<tr><td><?php echo $item->getName(); ?></td>
<td><?php echo $item->getQty(); ?></td>
<td><?php echo $this->helper('checkout')->formatPrice($item->getPrice(), 2); ?></td>
<td><?php $floatQty = floatval($item->getQty());
$total = $floatQty * $item->getPrice();
echo $this->helper('checkout')->formatPrice($total, 2); //multiply the quantity by the price and convert/format ?></td>
</tr>
<?php } ?>
<tfoot>
<td></td>
<td></td>
<td></td>
<td><?php echo $this->helper('checkout')->formatPrice($quote->getGrandTotal()); ?></td>
</tfoot>
</table>
これは、$item ごとの合計を見つける大まかな方法を含め、非常に醜いコードかもしれませんが、機能します。$item の合計を取得するためのより良い方法があると確信していますが (calcRowTotal は機能していないようです)、それで仕事は完了します。
そして、私を正しい道に導いてくれた clockworkgeek に感謝します。