$terms = get_terms( 'my_taxonomy' );
if( $terms && ! is_wp_error($terms) ){
foreach( $terms as $term ){
echo '<a href="' . get_term_link( $term ) . '">' . $term->name . '</a>';
}
} <div class="tag">
<?php
$product_tag = get_term( 52, 'product_tag' );
$taglink = $product_tag->slug;
//var_dump($product_tag);
?>
<a href="https://site.site/product-tag/'<?php echo $taglink ?>"><?php echo $product_tag->name; ?></a>
</div>