title: woocommerce get product category id
body: <p>I have problem, this very simple question but very important fore me. Thanks fore reading!
  My Problem: I'm create presentation page with different category. Each presentation blog have title, description, thumbnail and litel custom menu widget where sub category.
  My page Cases&amp;Bag have section Bags information about Bag, title, description and have custom menu widget where link category Women-Bags and Men-Bags. But under this section i need custom buttom with link to just category all Bags. 
  And need put Buttom</p>
  
  <pre><code>      href="====&gt; Problem heare ( link product category by or or slug ) &lt;===" class="btn btn-default btn-lg manage-btn " role="button"&gt;SHOW ALL BAGS&lt;/a&gt; 
  
       Imagen  category-&gt; Cases&amp;Bag/Bags/Women-Bags
          category-&gt; Cases&amp;Bag/Bags/Men-Bags
  </code></pre>
  
  <p>My code now lock like this:</p>
  
  <pre><code>    &lt;?php // Get the ID of a given category
  //$category_id = get_cat_ID( '62' );
  // Get the URL of this category
  $category_link = get_category_link( 62 );
  ?&gt;
  &lt;!-- Print a link to this category --&gt;
  &lt;a href="&lt;?php echo esc_url( $category_link ); ?&gt;" class="btn btn-default btn-lg manage-btn " role="button" title="SHOW ALL BAGS"&gt;SHOW ALL BAGS&lt;/a&gt;
  </code></pre>
  
  <p>This not work. It norla? or i have some problem in system?</p>