title: Show attribute values on Woocommerce category archive pages
body: <p>In a Wordpress + Woocommerce website I have a menu with some custom links that recall specific shop pages URLs using advanced queries taxonomies.</p>
  
  <p>These are example links I use for these custom menu entries:</p>
  
  <pre>https://example.com/product-category/cat1/?pa_attrib1=value1&pa_attrib2=value3
  https://example.com/product-category/cat2/?pa_attrib1=value2&pa_attrib3=value4`
  https://example.com/product-category/cat2/?pa_attrib1=value5&pa_attrib4=value5,value7,value8,value9</pre>
  
  <p>In this way I can configure "direct" entries to the various shop departments.</p>
  
  <p>Now <strong>I need to show, in the shop and archive page, the name and the values of the attributes set in the url</strong> in a similar way:</p>
  
  <blockquote>
    <p><em>Category Name - Attribute 1 name: value1 - Atttribute 2 Name: value2, ...</em></p>
  </blockquote>
  
  <p>I suppose I need to use the hook <strong>woocommerce_archive_description</strong> in functions.php but I don't know how recall and show the values I need</p>
  
  <pre><code>add_action ( 'woocommerce_archive_description', 'show_term_description', 20 );
  function show_term_description() {
     echo term_description( $term_id, $taxonomy ); // print Category Name
     // ...
     // ...
  }
  </code></pre>
  
  <p>thanks</p>