finished reduce from cart