Insert code on specific taxonomy archives

The is_tax() function checks if a custom taxonomy archive page is being displayed. So it will only work in template files such as taxonomy-product_cat.php – unless you create new templates for specific categories in the product_cat taxonomy. For example, if you have a product category called “Toasters” and the slug is “toasters” then the template file would be taxonomy-product_cat-toasters.php, and if that doesn’t exist then the taxonomy-product_cat.php template is loaded instead.

See this page for template hierarchy: http://codex.wordpress.org/Template_Hierarchy#Custom_Taxonomies_display