[eluser]include[/eluser]
Try something like this in your view, it loops through each item in the cart array and displays it;
Code:
<?php
If (!$this->cart->contents()){
echo '<p class="cart_empty">You don\'t have any items yet.</p>';
}
else { ?>
<table class="quickcart" cellpadding="6" cellspacing="1" border="0">
<?php $i = 1; ?>
<?php foreach ($this->cart->contents() as $items): ?>
<tr>
<td><?php echo $items['qty']; ?></td>
<td><?php echo $items['name']; ?></td>
<td><?php echo $this->cart->format_number($items['price']); ?></td>
<td>£<?php echo $this->cart->format_number($items['subtotal']); ?></td>
</tr>
<?php $i++; ?>
<?php endforeach; ?>
</table>
<?php } ?>
Just doing our first app that uses the cart functions so had a bit of fun with it recently!