Great this helped me fix that problem. However now say I have added 3 items to cart:
List after added 3 items to cart
Item 1 - (DELETE)
Item 2
Item 3
New list generated after item 1 deleted:
Item 1 (array element 1 instead of array element 0, became item 1, throwing off the entire array)
Item 2
So basically, following the above example, after I delete item 1 from the cart my array looks like this:
$_SESSION['item'][0][0] = EMPTY < -------------- Need to reorder so the two elements below this fill the empty spot
$_SESSION['item'][1][0] = Correct
$_SESSION['item'][2][0] = Correct
I'm guessing I need to resort the array moving each array element's items down one index, within the delete function code - How would I do this?