simplified the checkout logic, and fixed it to accept multiple sales on the same items