title: Woocommerce content-single-product template override wont work
body: <p>I have a problem, and im struggling from yesterday with it. So, I have web with woocommerce that is still on localhost.
  I have problem with template override. I overrided loop start, end, content-product.php and content-single-product.php in my theme and that works ok. 
  I have problem with content-single-product.php because I want it to make dependable on category (whatever as identification - id, name, slug). So I found few solutions on google but none will work.
  In my singe-product.php I replaced</p>
  
  <pre><code> woocommerce_get_template_part( 'content', 'single-product' );
  </code></pre>
  
  <p>with</p>
  
  <pre><code>if ( is_product_category( 'my-cat-slug' ) )
  {
     woocommerce_get_template_part( 'content', 'single-product-dogs'   );  
  }
  else {
     woocommerce_get_template_part( 'content', 'single-product' ); 
  }
  </code></pre>
  
  <p>I tried putting instead of my-cat-slug actual Cat Name, I tried using <code>!is_product_category</code> to get inverse... Also nothing.
  Of course I put single-product.php to woocommerce folder in my theme where rest of working overridden files are. And I created file content-single-product-dogs.php where I copied content from content-single-product.php with some changes, as small as just TEST written somewehere.</p>
  
  <p>Also I tried </p>
  
  <pre><code>if ( ! function_exists( 'woocommerce_content' ) ) {
      function woocommerce_content() {
          if ( has_term( 'my-cat-slug', 'product_cat' ) ) {
              while ( have_posts() ) : the_post();
                  wc_get_template_part( 'content', 'single-product-dogs' );
              endwhile;
          }
          else {
              while ( have_posts() ) : the_post();
                  wc_get_template_part( 'content', 'single-product' );
              endwhile;
          }
      }
  }
  </code></pre>
  
  <p>That also doesn't work. Everything I use, it always falls back to default overridden content-single-product.php</p>
  
  <p>I have no more ideas. Please someone help :)</p>
  
  <p>P.S Is it possible to change default product-image.php that will be different for that custom content-single-product-dog.php? </p>
  
  <p>Thanks</p>