title: Displaying product thumbnail and attribute in Woocommerce cart and checkout
body: <p>I am isplaying product attributes in my Woocommerce checkout table, see my previous question: <a href="https://stackoverflow.com/questions/51971808/show-woocommerce-taxonomy-in-emails">Show Woocommerce taxonomy in emails</a></p>
  
  <p>I also want to show the product image, so my ideal would be: Product image on the left and beside it product name, in the next row product quantity and after that the attribute. If I use this function</p>
  
  <pre><code>    add_filter( 'woocommerce_cart_item_name', add_thumbnail_to_cart_items, 10, 3 );
      function add_thumbnail_to_cart_items( $product_name, $cart_item, $cart_item_key ){ 
  
  
      if ( ! is_checkout() ) return $product_name;
  
      $product     = $cart_item['data']; 
      $thumbnail   = $product-&gt;get_image(array( 70, 70)); 
  
      $opening_div = '&lt;div id="checkout_thumbnail" style="float:left; padding-right:15px;"&gt;'; 
      return $opening_div . $thumbnail . '&lt;/div&gt; ' . $product-&gt;get_name(); 
  } 
  </code></pre>
  
  <p>the attribute is not shown any longer. How can I display both?</p>