title: How do I add together these checked inputs prices?
body: <p>I am using this code I need to add together any inputs that are checked price values. They price values are dynamically generated. but for the purpose of being on here they have a value. Any help would be greatly appreciated. Thanks.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>var $variantTitle = $('.variant_title');
  var $variantPrice = $('.variant_price');
  
  $('#products :checkbox').on('change', function() {
    if (this.checked) {
      var $row = $(this).closest('tr');
      var title = $row.find('.title').text();
      var price = $row.find('.price').text();
      $variantTitle.text(title);
      $variantPrice.text(price);
    } else {
      $variantTitle.empty();
      $variantPrice.empty();
    }
  });</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"&gt;&lt;/script&gt;
  &lt;table id="products"&gt;
    &lt;tbody&gt;
      &lt;tr&gt;
        &lt;td&gt;
          &lt;span class="variant_title"&gt;&lt;/span&gt;
        &lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
        &lt;td&gt;&lt;input name="updates[31435395282]" type="checkbox" value="31435395282:" /&gt;&amp;nbsp;&lt;/td&gt;
        &lt;td&gt;Hoodie - Unisex Hoodie / Black / S - &lt;span class="price"&gt;$0.01&lt;/span&gt;&lt;/td&gt;
        &lt;td class="title hide"&gt;Unisex Hoodie / Black / S - $0.01&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
        &lt;td&gt;&lt;input name="updates[31435395346]" type="checkbox" value="31435395282:" /&gt;&amp;nbsp;&lt;/td&gt;
        &lt;td&gt;Hoodie - Unisex Hoodie / Black / M - &lt;span class="price"&gt;$0.01&lt;/span&gt;&lt;/td&gt;
        &lt;td class="title hide"&gt;Unisex Hoodie / Black / M - $0.01&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
        &lt;td&gt;&lt;input name="updates[31435395410]" type="checkbox" value="31435395282:" /&gt;&amp;nbsp;&lt;/td&gt;
        &lt;td&gt;Hoodie - Unisex Hoodie / Black / L - &lt;span class="price"&gt;$0.01&lt;/span&gt;&lt;/td&gt;
        &lt;td class="title hide"&gt;Unisex Hoodie / Black / L - $0.01&lt;/td&gt;
      &lt;/tr&gt;
    &lt;/tbody&gt;
  &lt;/table&gt;
  
  &lt;div class="variant_price"&gt;&lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>