title: Conditional tags not working, why?
body: <p>Im trying to use a custom template for a woocommerce category, but can't get the conditional to work, do I miss something here? Im trying to change</p>
  
  <pre><code>&lt;?php woocommerce_get_template_part( 'content', 'single-product-cans' ); ?&gt;
  </code></pre>
  
  <p>To this: </p>
  
  <pre><code>&lt;?php if (is_product_category( 'cans' ) {
  woocommerce_get_template_part( 'content', 'single-product-cans' );
  }else{
  woocommerce_get_template_part( 'content', 'single-product' );
  } ?&gt;
  </code></pre>
  
  <p>This throws this error: syntax error, unexpected '{'</p>