title: Update WooCommerce Cart After Adding Variable Product Via AJAX
body: <p>I've assembled the link to add a variable product to my cart like so but I'm at a loss on how to then "refresh" the cart without reloading the page.  My guess is that I'm not properly making this AJAX add to cart request and therefore, the woocommerce_add_to_cart_fragments (where I believe my cart HTML would be placed for refresh) isn't being called.</p>
  
  <pre><code>$addToCartLink = '?add-to-cart=' . $prod-&gt;id . '&amp;variation_id=' . $var_id . '&amp;attribute_pa_quantity-attribute=' . $var_quantity;
  
  jQuery.get($addToCartLink, function() {
      //refreshCart();
  }); 
  </code></pre>
  
  <p>If anyone can just point me in the right direction I'd be greatly appreciative.  Variable/AJAX/WooCommerce docs seems to be rather sparse.</p>