shopping cart deletes

but there is a problem with the first item ordered