title: How to force "selected" attribute for variation options in Woocommerce?
body: <p>I'm developing a Woocommerce theme for one of my clients. 
  For this project, I needed to clone the cart form (on product pages) in order to display it in another place on the page. 
  I managed to do this with this piece of code :</p>
  
  <pre><code>$(document).on( 'found_variation', 'form.cart', function( event, variation ) { // found_variation // woocommerce_variation_select_change
      $('.fixed-price-right').empty();
      $(this).clone().appendTo( '.fixed-price-right' ).each(function() {
          $('.product-fixi').scrollToFixed();             
      });     
  });
  </code></pre>
  
  <p>First, on each variation changes, I empty the div in which the form clone will be displayed. 
  Then, I clone it and made the container div fixed. </p>
  
  <p>The problem is that I get everything except the selected variation value. 
  Actually, the default selected value got this attribute : selected="selected". But this attribute is not applied to other options.
  You can see a living example here: <a href="http://www.pro4mance.com.au/product/produrance-energy-gels-2/" rel="nofollow">http://www.pro4mance.com.au/product/produrance-energy-gels-2/</a></p>
  
  <p>If I submit from the cloned form, the product is added but without option.</p>
  
  <p>The weird thing is that if I add manually (from web console) this attr in the right option of the cloned form and then add the product to the cart, the product is added with all the good options. </p>
  
  <p>I don't really know how to force the adding of selected="selected" on each change. Can someone please help me to manage it?</p>
  
  <p>Thanks everyone! </p>