Hide variants that is out of stock

Hide variants that is out of stock

Add the following in variant-main-picker.liquid

Idea
{%- for product_option_value in product_option.values -%}

 {% # hide variants = 0 # %}
{% if product_option_value.available == false %}
    {% continue %}
  {% endif %}
 {% # End hide variants = 0 # %}
              
              {% if product_option_value.size > longest_value and option_id_attribute %}
                {% assign longest_value = product_option_value.size %}
              {% endif %}