Second Attempt at a shopping cart with ajax