title: Woocommerce Category Specific Button on product page
body: <p>I the code below to show a button on the single product page:</p>
  
  <pre><code>add_action('woocommerce_after_add_to_cart_button','cmk_additional_button');
  function cmk_additional_button() {
      echo '&lt;button type=”submit” class=”button alt”&gt;test&lt;/button&gt;';
  }
  </code></pre>
  
  <p>This is working right and show this additional button on all products.</p>
  
  <p>Now, how can I restrict this so it only shows on single product pages that are within certain categories, for example "Commercial Gym Equipment" only?</p>
  
  <p>Thanks.</p>