$term_link = get_term_link( $term );
could not work because $term is set inside the foreach loop. (dont think that is the main problem, but it would be one of the possibilities why it not work.)
and you have “the same” a custom post that work with the others taxonomies?