title: shopify with multiple variants not showing the proper quantity. how to fix
body: <p>i have shopify show the correct quantities in stock BUT only if i refresh the page on each variant. for example: 
  i have 12 variants the quantities vary from 1-8 but if i click variant-1 it shows i have two. if i click variant-6 it still shows i have 2 UNLESS i click to refresh the page and then it will show the correct amount in stock.  i am trying to fix this so when i change variant the price and the quantity update together but not sure how. can you help me?</p>
  
  <p>this is the code im using</p>
  
  <pre><code>{% comment %} Inventory tracking on product page {% endcomment %}
          &lt;div id="variant-inventory" class="{% unless current_variant.available %} hide {% endunless %}"&gt;
            {% if current_variant.inventory_management == "shopify" and current_variant.inventory_policy != "continue" %}
            We have {{ current_variant.inventory_quantity }} in stock.
            {% else %}
            This product is available.
            {% endif %}
          &lt;/div&gt;
  </code></pre>
  
  <p>It is in line 121 of:
   product-template.liquid</p>