Fix: calculate the total price of the cart.