title: How to get the category name from an id product in woocommerce
body: <p>I am creating a e-commerce website using woo commerce. I am struggling with a code that how to display the category name of the product using category id in woocommerce?.</p>
  
  <p>In wordpress its easy to display the category name by id as <code>get_the_category_by_id(3)</code>. So that it display the name of the id 3.</p>
  
  <p>By the same way how to display the category name by id in woocommerce?</p>