title: WooCommerce - Get selected variation for a product in cart
body: <p>Hello,</p>
  
  <p>Any one please help me find the solution.</p>
  
  <p>My client has a wholesale business, in which he don't need woocommerce checkout functionality. He needs woocommerce functionality upto cart, but instead of checkout he wants a "Place Order" button.</p>
  
  <p>Now, everything is working fine, placing order correctly, order is storing into database and mailing to admin, but the problem is that I want to store variations as well, my question is <strong><em>how to get selected variation </em></strong><i>(if there is any)</i> <strong><em>of a product inside functions.php for that product, which is already in cart?</em></strong></p>
  
  <p>Any hint will be much appreciated.</p>