Variant Selector not working, Please help!

{% if product.images.size == 0 %}
{% else %}
{% assign featured_image = product.selected_or_first_available_variant.featured_image | default: product.featured_image %} {{ featured_image.alt | escape }}

{% if product.images.size > 0 %}

    {% for image in product.images %}
  • {{ image.alt | escape }}
  • {% endfor %}
{% endif %} {%- if product.metafields.product.video -%} {%- endif -%} {% endif %}

{{ product.title }}

{% if collection %} {% if collection.previous_product or collection.next_product %}

{% if collection.previous_product %} {% capture prev_url %}{{ collection.previous_product}}#content{% endcapture %} {% endif %}

{% if collection.next_product %}
{% capture next_url %}{{ collection.next_product}}#content{% endcapture %}



{% endif %}

{% endif %} {% endif %}
{{ product.price | money }}
{% if product.compare_at_price > product.price %} {{ product.compare_at_price | money }} {% endif %}
{% if settings.short_desc %}
{{ product.description | strip_html | truncatewords: 50 }}
{% endif %}
{% assign variant = product.selected_or_first_available_variant %}

{% if settings.count_down_enable and settings.count_down_collections %}
{% assign dealTime = settings.home_productdeal_time | split: ’ ’ | join: ’ ’ | split: ’ ’ %}
{% include ‘deal-snippet’ %}
{% endif %}

{% form ‘product’, product, id: “AddToCartForm”, class: “product-form” %} {% include ‘file_script’%}
{% include ‘file_uploader’ %}
{% assign hide_default_title = false %}
{% if product.variants.size == 1 and product.variants.first.title contains ‘Default’ %}
{% assign hide_default_title = true %}
{% endif %}

{% if settings.enable_color_swatch %} {% for option in product.options %} {% include 'swatch' with option %} {% endfor %} {% endif %}
{{ 'products.product.quantity' | t }} {% include 'qty' %}
{% if settings.display_availability or settings.display_product_type %}

{% if settings.display_vendor_type %}

{{ 'products.product.product_vendor' | t }} {{ product.vendor }}

{% endif %} {% if settings.display_product_type %}

{{ 'products.product.product_type' | t }} {{ product.type }}

{% endif %} {% if settings.display_availability %}

{{ 'products.product.availability' | t }} {% if product.selected_or_first_available_variant.inventory_management %} {% assign first_inventory = product.selected_or_first_available_variant.inventory_quantity %} {% if first_inventory > 0 %} {{first_inventory}} {{ 'products.product.in_stock' | t }} {% else %} {{ 'products.product.out_of_stock' | t }} {% endif %} {% else %} {{ 'products.product.many_in_stock' | t }} {% endif %}

{% endif %} {% endif %}
{{ 'products.product.add_to_cart' | t }} {% if settings.payment_button %} {{ form | payment_button }} {% endif %} {% endform %}
{% if settings.enable_wishlist %} {% include 'wishlist-product' %} {% endif %}

{% if settings.social_sharing_products %}

{% include 'addthis' %} {% endif %}
{% if settings.product_tab1 %}

{{ product.description }}

{% endif %} {% if settings.product_tab2 %}
{{ product.metafields.spr.reviews }}
{% endif %} {% if settings.product_tab3 %}

{{ pages[settings.product_tab3_page].content }}

{% endif %}

{% if settings.product_related_enable %}
{% include ‘related-products’ %}
{% endif %}

{% if settings.display_recently_viewed_products %} {% include 'recently-viewed-products' %} {% endif %}
{% if settings.product_page_sidebar == "right_sidebar" %}
{% include 'product-sidebar' %}
{% endif %} {{ 'option_selection.js' | shopify_asset_url | script_tag }} {{ 'jquery.fancybox.js' | asset_url | script_tag }}