title: How to Fetch Woo Commerce Product Categories icons with names with get_term(product_cat) or something else .. can i fetch only name?
body: <pre><code>&lt;?php 
  $orderby = 'id';
  $order = 'asc';
  $hide_empty = false ;
  $cat_args = array(
      'orderby'    =&gt; $orderby,
      'order'      =&gt; $order,
      'hide_empty'=&gt; 0,
  );
  
  $product_categories = get_terms( 'product_cat', $cat_args );
  
  if( !empty($product_categories) ){
      echo '
  &lt;ul class="display-categories list-group nav navbar-nav"&gt;';
      foreach ($product_categories as $key =&gt; $category) {
          echo '
  &lt;li class="list-group-item"&gt;';
          echo '&lt;a href="'.get_term_link($category).'" &gt;';
          echo '&lt;img src="'.get_term_link($category).'" /&gt;' ;
          echo $category-&gt;name;
          echo '&lt;/a&gt;';
          echo '&lt;/li&gt;';
      }
      echo '&lt;/ul&gt;';
  }          
  ?&gt;  
  </code></pre>
  
  <p>I can't fetch the product category icons.. i want it to fetch category icons with the list of names ... please somebody help me out with this thanks  </p>