title: Woocoommerce, get variation name from variation id
body: <p>I've used the following to get the variation id of a product in shopping cart.</p>
  
  <pre><code>    $cartdetails = $woocommerce-&gt;cart-&gt;get_cart();
  
  
  foreach($cartdetails as $cart_items) {
  $variation_id = $cart_items['variation_id']; //get variation id of product in cart
  }
  </code></pre>
  
  <p>I've checked the array and the variation name isn't a value.  How do i get the variation name from the variation id?</p>