Hi there,
should be as simple as swapping out the category terms for tag terms like so:
<?php
$tag_args = array(
'orderby' => 'name',
'order' => 'asc',
'hide_empty' => true,
);
$product_tags = get_terms( 'product_cat', $cat_args );
if ( ! empty( $product_tags ) ) {
echo '<ul class="woo-cat-nav">';
foreach ( $product_tags as $key => $tag ) {
printf(
'<li>
<a href="%1$s">
%2$s
</a>
</li>',
get_term_link( $tag ),
$tag->name
);
}
echo '</ul>';
}
?>