[eluser]the_unforgiven[/eluser]
Basically using what is stated in the manual:
Code:
<?php echo form_open('home/update_cart'); ?>
<?php if ($this->session->flashdata('message')) { ?>
<div class="success"><?php echo $this->session->flashdata('message'); ?></div>
<?php } ?>
<table cellpadding="6" cellspacing="1" border="0">
<tr>
<th>QTY</th>
<th>Item Description</th>
<th>Item Price</th>
<th>Sub-Total</th>
</tr>
<?php $i = 1; ?>
<?php foreach ($this->cart->contents() as $items): ?>
<?php echo form_hidden($i.'[rowid]', $items['rowid']); ?>
<tr>
<td><?php echo form_input(array('name' => $i.'[qty]', 'value' => $items['qty'], 'maxlength' => '3', 'size' => '5')); ?></td>
<td>
<?php echo $items['name']; ?>
<?php if ($this->cart->has_options($items['rowid']) == TRUE): ?>
<p>
<?php foreach ($this->cart->product_options($items['rowid']) as $option_name => $option_value): ?>
<strong><?php echo $option_name; ?>:</strong> <?php echo $option_value; ?><br />
<?php endforeach; ?>
</p>
<?php endif; ?>
</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; ?>
<?php //var_dump($this->input->post('rowid')); ?>
<tr>
<td></td>
<td><strong>Total</strong></td>
<td>£<?php echo $this->cart->format_number($this->cart->total()); ?></td>
</tr>
</table>
<p><?php echo form_submit('', 'Update Cart'); ?></p>
Which then goes to what I originally posted.