title: Get variable product price with jquery - WooCommerce
body: <p>I have some variation per products which contain different  price, I'm trying to get the product variable price with jQuery and I get it but this code bellow only get the min variation price and I would like to get the current price for the current variation. Then when I change another select value, the variation change in the front end with the correct price, but in the console log the min price is showed again and again and not the corresponding price for the corresponding variation.</p>
  
  <pre><code>jQuery( '.variations_form' ).each( function() {
      // when variation is found, do something
      jQuery(this).on( 'found_variation', function( event, variation ) {
          var product    = '&lt;?php echo wc_get_product($variation_id) ?&gt;',
              price      = &lt;?php echo $product-&gt;get_price() ?&gt;;
          console.log(price);
      });
  });
  </code></pre>
  
  <p>I tried to look into the <code>add-to-cart-variation.js</code> and the <code>wp-util.js</code>  file to find some way but I 'm not able to do it.</p>
  
  <p>Is there a way to retrieve correctly the current variation price dynamically with jQuery ?</p>
  
  <p>Any help would be appretiated</p>