error handling, cart total