title: How To check Product Have Variation in woocommerce
body: <p>Is there any way to check the product has variation something like 
  Please help me.</p>
  
  <pre><code>&lt;?php 
  If (product has variation) {
     echo"This Product have Variations ";
  } else {
     echo "This Product does not have Variations ";
  } 
  ?&gt;
  </code></pre>