stored cart items in array, debugged calculations