Iteration E. smarter cart