move $cart_updated inside $passed_validation IF statement. #6703