further debugged cart incrementing function, added proper summing to the cart