If cart is null, return.