Shipping-calculator on cart page stopped working

DanAtK3D
Tourist
7 0 1

 Sometime over the past year or so the calculate shipping button on my cart page has stopped working. It still greys out and says calculating but never generates a response. It is possible that I have caused this when bumbling through adding new features. I has resolved as many conflicts as I can using Inspect > Console on chrome. The cart page has quite a few errors still on it.

Website: www.kingdom3d.com.au

Theme: Classic (old)

Cart.liquid:

{% include 'elspw_cart' %}
 <script type="text/javascript"> 
  if(location.pathname=="/cart") 
    $(document).ready(function(){
      document.getElementById("cart1").setAttribute('style', "display:block");
      document.getElementById("cartm").setAttribute('style', "display:none");
    }) 
     

    </script>

{% comment %}

      

  This is your /cart template. If you are using the Ajaxify Cart plugin,
  your form (with action="/cart") layout will be used in the drawer/modal.

  For info on test orders:
    - General http://docs.shopify.com/manual/your-store/orders/test-orders
    - Shopify Payments - http://docs.shopify.com/manual/more/shopify-payments/testing-shopify-payments

{% endcomment %}
                                
{% if cart.item_count > 0 %}

  <form action="/cart" method="post" novalidate class="cart">

    <div class="section-header">
      <h1 class="section-header__title">{{ 'cart.general.title' | t }}</h1>
    </div>

    <div class="cart__row medium-down--hide cart__header-labels">
      <div class="grid--full">
        <div class="grid__item large--one-half push--large--one-half">
          <div class="grid--full">
            <div class="grid__item one-third medium-down--one-third">
              <span class="h4">{{ 'cart.label.price' | t }}</span>
            </div>
            <div class="grid__item one-third medium-down--one-third text-center">
              <span class="h4">{{ 'cart.label.quantity' | t }}</span>
            </div>
            <div class="grid__item one-third medium-down--one-third text-right">
              <span class="h4">{{ 'cart.label.total' | t }}</span>
            </div>
          </div>
        </div>
      </div>
    </div>

    {% comment %}
      Loop through products in the cart
    {% endcomment %}
    {% for item in cart.items %}
      <div class="cart__row" data-id="{{ item.id }}">
        <div class="grid--full cart__row--table-large">

          <div class="grid__item large--one-half">
            <div class="grid">

              <div class="grid__item one-third">
                <a href="{{ item.url | within: collections.all }}" class="cart__image">

                  {% comment %}
                    More image size options at:
                      - http://docs.shopify.com/themes/filters/product-img-url
                  {% endcomment %}
                  <img src="{{ item | img_url: 'medium' }}" alt="{{ item.title | escape }}">
                </a>
              </div>

              <div class="grid__item two-thirds">
                <a href="{{ item.url }}" class="h4">
                  {{ item.product.title }}
                </a>
                {% unless item.variant.title contains 'Default' %}
                  <br>
                  <small>{{ item.variant.title }}</small>
                {% endunless %}

                {% if settings.cart_vendor_enable %}
                  <p>{{ item.vendor }}</p>
                {% endif %}

                {% comment %}
                  Optional, loop through custom product line items if available

                  For more info on line item properties, visit:
                    - http://docs.shopify.com/support/your-store/products/how-do-I-collect-additional-information-on-the-product-page-Like-for-a-monogram-engraving-or-customization
                {% endcomment %}
                {% assign propertySize = item.properties | size %}
                <span class="Bold-theme-hook-DO-NOT-DELETE bold_cart_item_properties" style="display:none !important;"></span>{% if propertySize > 0 %}
                  {% for p in item.properties %}
				{%- if p.first.first == '_' -%}{%- continue -%}{%- endif -%}
                    {% assign first_character_in_key = p.first | truncate: 1, '' %}
                    {% unless p.last == blank or first_character_in_key == '_' %}
                      <br>
                      {{ p.first }}:

                      {% comment %}
                        Check if there was an uploaded file associated
                      {% endcomment %}
                      {% if p.last contains '/uploads/' %}
                        <a href="{{ p.last }}">{{ p.last | split: '/' | last }}</a>
                      {% else %}
                        {{ p.last }}
                      {% endif %}
                      
                    {% endunless %}
                  {% endfor %}
                {% endif %}

                <a href="/cart/change?line={{ forloop.index }}&amp;quantity=0" data-id="{{ item.id }}" class="cart__remove">
                  <small>{{ 'cart.general.remove' | t }}</small>
                </a>
              </div>

            </div>
          </div>

          <div class="grid__item large--one-half">
            <div class="grid--full cart__row--table-large">

              <div class="grid__item one-third">
                <span class="cart__mini-labels">{{ 'cart.label.price' | t }}</span>
                <span class="h5"><span class="Bold-theme-hook-DO-NOT-DELETE bold_cart_item_price" style="display:none !important;"></span>{{ item.price | money }}</span>
              </div>

              <div class="grid__item one-third text-center">
                <span class="cart__mini-labels">{{ 'cart.label.quantity' | t }}</span>
                {% comment %}
                  Added data-id for the ajax cart implementation only.
                {% endcomment %}
                <input type="number" name="updates[]" id="updates_{{ item.id }}" value="{{ item.quantity }}" min="0" data-id="{{ item.id }}">
              </div>

              <div class="grid__item one-third text-right">
                <span class="cart__mini-labels">{{ 'cart.label.total' | t }}</span>

                <span class="h5">
                  {% if item.original_line_price != item.line_price %}
                  <small class="cart-item__original-price"><s>{{ item.original_line_price | money }}</s></small>
                  {% endif %}
                  <span class="Bold-theme-hook-DO-NOT-DELETE bold_cart_item_total" style="display:none !important;"></span>{{ item.line_price | money }}
                </span>
                {% if item.original_line_price != item.line_price %}
                  {% for discount in item.discounts %}
                    <small class="cart-item__discount">{{ discount.title }}</small>
                  {% endfor %}
                {% endif %}
              </div>

            </div>
          </div>

        </div>
      </div>
    {% endfor %}

    <div class="cart__row">
      <div class="grid" id="ship_calc" name="ship_calc">
        {% comment %}
          Optional, add a textarea for special notes
            - Your theme settings can turn this on or off. Default is on.
            - Make sure you have name="note" for the message to be submitted properly
        {% endcomment %}
        {% if settings.cart_notes_enable %}
          {% assign noteSize = cart.note | size %}
          <div class="grid__item large--five-twelfths">
            <button type="button" class="text-link cart__note-add{% if noteSize > 0 %} is-hidden{% endif %}">
              {{ 'cart.label.add_note' | t }}
            </button>
            <div class="cart__note{% if noteSize > 0 %} is-active{% endif %}">
              <label for="CartSpecialInstructions">{{ 'cart.general.note' | t }}</label>
              <textarea name="note" class="input-full" id="CartSpecialInstructions">{{ cart.note }}</textarea>
            </div>
          </div>
        {% endif %}
        <div class="grid__item text-right{% if settings.cart_notes_enable %} large--seven-twelfths{% endif %}">
          <p style="margin-bottom:0px;">
            <span class="cart__subtotal-title"><span id="bk-cart-subtotal-label">{{ 'cart.general.subtotal' | t }}</span></span>
            <span class="h5 cart__subtotal"><span class="Bold-theme-hook-DO-NOT-DELETE bold_cart_total" style="display:none !important;"></span><span id="bk-cart-subtotal-price">{{ cart.total_price | money }}</span></span><br>
            {% if cart.total_discounts > 0 %}
              {% assign savings = cart.total_discounts | money %}
              <small class="cart-subtotal__savings">{{ 'cart.general.savings_html' | t: price: savings }}</small>
            {% endif %}
          </p>
          <p><i style="font-size:12px">All prices include GST</i></p>
          
         
          
          
         <p id="cart1" style= "display:none";><em>{% comment %}See shipping estimate below{% endcomment %}{{ 'cart.general.shipping_at_checkout' | t }}</em></p>
          <p id="cartm"><em>Go to <a href="/cart"><u>cart page</u></a></em></p>
          <input type="submit" name="update" class="btn--secondary update-cart" value="{{ 'cart.general.update' | t }}">
          <input type="submit" name="checkout" class="btn" value="Calculate Shipping and {{ 'cart.general.checkout' | t }}">
          <hr class="hr hr--tiny" style="height:1pt; visibility:hidden;" />
          <a href="https://www.kingdom3d.com.au/collections/1-75mm-filament"{% comment %} href="{{ cart.items.first.product.collections.first.url }}" {% endcomment %} title="Continue Shopping">Continue Shopping...</a>


          {% if additional_checkout_buttons %}
            <div class="cart__additional_checkout_buttons">{% comment %}{{ content_for_additional_checkout_buttons }}{% endcomment %}</div>
          {% endif %}
        </div>
      </div>

    </div>
    {% render 'shipping-calculator' %} 
   </form>



{% else %}
  {% comment %}
    The cart is empty
  {% endcomment %}
  <h2>{{ 'cart.general.title' | t }}</h2>
  <p>{{ 'cart.general.empty' | t }}</p>
  <a href="https://www.kingdom3d.com.au/collections/1-75mm-filament" title="Continue Shopping">Continue Shopping</a>
  {% comment %} <p>{{ 'cart.general.continue_browsing_html' | t }}</p> {% endcomment %}

{% endif %}

{% comment %}<script>
  theme.strings = {
      shippingCalcSubmitButton: {{ settings.shipping_calculator_submit_button_label | default: 'Calculate shipping' | json }},
      shippingCalcSubmitButtonDisabled: {{ settings.shipping_calculator_submit_button_label_disabled | default: 'Calculating...' | json }},
      {% if customer %}shippingCalcCustomerIsLoggedIn: true,{% endif %}
      shippingCalcMoneyFormat: {{ shop.money_with_currency_format | json }}
  }
</script>

<script src="//cdnjs.cloudflare.com/ajax/libs/handlebars.js/4.0.10/handlebars.min.js"></script>
<script src="/services/javascripts/countries.js"></script> {% endcomment %}
<script src="{{ 'shopify_common.js' | shopify_asset_url }}" defer="defer"></script>

shipping-calculator.liquid:

{% unless settings.shipping_calculator == 'Disabled' %}

<div id="shipping-calculator" name="shipping-calculator">
    
  <h3>Shipping Estimate</h3> {% comment%}{{ settings.shipping_calculator_heading | default: 'Get shipping estimates' }}{% endcomment %}

  <div style="display:block">
    <p class="field" style= "display:block; width: 200px">
      <label for="address_country">Country</label>
      <select id="address_country" name="address[country]" data-default="{% if shop.customer_accounts_enabled and customer %}{{ customer.default_address.country }}{% elsif settings.shipping_calculator_default_country != '' %}{{ settings.shipping_calculator_default_country }}{% endif %}">{{ country_option_tags }}</select>
    </p>
    <p class="field" id="address_province_container" style="width: 200px; display:block;">
      <label for="address_province" id="address_province_label" style="display:block;">Province</label>
      <select id="address_province" name="address[province]" data-default="{% if shop.customer_accounts_enabled and customer and customer.default_address.province != '' %}{{ customer.default_address.province }}{% elsif customer.default_address.province != '' %}Queensland{% endif %}" {% comment %}style="display:none;{% endcomment %}"></select>
    </p> 
    <p class="field" style= "width: 200px; display:block;">
      <label for="address_zip">Post Code</label>
      <input type="text" id="address_zip" name="address[zip]"{% if shop.customer_accounts_enabled and customer %} value="{{ customer.default_address.zip }}"{% else %}value="4000"{% endif %} />
    </p>
  </div>
  <div>
    <p class="field" style= "width: 180px">
      <input type="button" class="get-rates btn button" value="{{ settings.shipping_calculator_submit_button_label | default: 'Calculate shipping' }}" />
    </p>
  </div>

  <div id="wrapper-response"></div>
  <div style="color:#888888;">*Delivery time estimates are for capital cities. Smaller cities, towns and rural areas will generally take 1-2 days longer than estimate.</div>
  
</div>

<script id="shipping-calculator-response-template" type="text/template">
  <p id="shipping-rates-feedback" <% if (success) { %> class="success" <% } else { %> class="error" <% } %>>
  <% if (success) { %>
    <% if (rates.length > 1) { %> 
    <font color = "#ff0000">There are <%= rates.length %> shipping rates available for this order{% comment %}<%= address %> {% endcomment %}, starting at <%= rates[0].price %>:</font>
    <% } else if (rates.length == 1) { %>
    <font color = "#ff0000">Our best rate{% comment %}There is one shipping rate available for this order<%= address %> {% endcomment %}:</font>
    <% } else { %>
    Our shipping calculators are not capable of getting the best rate for this order, please leave your cart with the items you want to purchase and let us know you need a shipping quote -- we usually respond within an hour (if not immediately)
    {% comment %} We do not ship to this destination. {% endcomment %}
    <% } %>
  <% } else { %>
    <%= errorFeedback %>
  <% } %>
  </p>
  <ul id="shipping-rates">
    <% for (var i=0; i<rates.length; i++) { %>
    <li>•  <%= rates[i].name %> - <font color = "#9a38a3"><b><%= rates[i].price %></b></font></li>
    <% } %>
  </ul> 
</script>

<!--[if lte IE 8]> 
<style> #shipping-calculator { display: none; } </style> 
<![endif]--> 

{{ '//cdnjs.cloudflare.com/ajax/libs/underscore.js/1.7.0/underscore-min.js' | script_tag }}
{{ '/services/javascripts/countries.js' | script_tag }}
{{ 'shopify_common.js' | shopify_asset_url | script_tag }}
{{ 'jquery.cart.min.js' | asset_url | script_tag }}

<script>

Shopify.Cart.ShippingCalculator.show( {
  submitButton: {{ settings.shipping_calculator_submit_button_label | default: 'Calculate shipping' | json }}, 
  submitButtonDisabled: {{ settings.shipping_calculator_submit_button_label_disabled | default: 'Calculating...' | json }}{% if customer %},
  customerIsLoggedIn: true{% endif %},
  moneyFormat: {{ shop.money | json }}{% comment %}_with_currency_format{% endcomment %}
} );

</script>

{% endunless %}

jquery.car.min.js:

/**
 * Module to add a shipping rates calculator to cart page.
 *
 * Copyright (c) 2011-2016 Caroline Schnapp (11heavens.com)
 * Dual licensed under the MIT and GPL licenses:
 * http://www.opensource.org/licenses/mit-license.php
 * http://www.gnu.org/licenses/gpl.html
 *
 */

"object"==typeof Countries&&(Countries.updateProvinceLabel=function(e,t){if("string"==typeof e&&Countries[e]&&Countries[e].provinces){if("object"!=typeof t&&(t=document.getElementById("address_province_label"),null===t))return;t.innerHTML=Countries[e].label;var r=jQuery(t).parent();r.find("select");r.find(".custom-style-select-box-inner").html(Countries[e].provinces[0])}}),"undefined"==typeof Shopify.Cart&&(Shopify.Cart={}),Shopify.Cart.ShippingCalculator=function(){var _config={submitButton:"Calculate shipping",submitButtonDisabled:"Calculating...",templateId:"shipping-calculator-response-template",wrapperId:"wrapper-response",customerIsLoggedIn:!1,moneyFormat:"${{amount}}"},_render=function(e){var t=jQuery("#"+_config.templateId),r=jQuery("#"+_config.wrapperId);if(t.length&&r.length){_.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var n=_.template(jQuery.trim(t.text())),a=n(e);if(jQuery(a).appendTo(r),"undefined"!=typeof Currency&&"function"==typeof Currency.convertAll){var i="";jQuery("[name=currencies]").size()?i=jQuery("[name=currencies]").val():jQuery("#currencies span.selected").size()&&(i=jQuery("#currencies span.selected").attr("data-currency")),""!==i&&Currency.convertAll(shopCurrency,i,"#wrapper-response span.money, #estimated-shipping span.money")}}},_enableButtons=function(){jQuery(".get-rates").removeAttr("disabled").removeClass("disabled").val(_config.submitButton)},_disableButtons=function(){jQuery(".get-rates").val(_config.submitButtonDisabled).attr("disabled","disabled").addClass("disabled")},_getCartShippingRatesForDestination=function(e){var t={type:"POST",url:"/cart/prepare_shipping_rates",data:jQuery.param({shipping_address:e}),success:_pollForCartShippingRatesForDestination(e),error:_onError};jQuery.ajax(t)},_pollForCartShippingRatesForDestination=function(e){var t=function(){jQuery.ajax("/cart/async_shipping_rates",{dataType:"json",success:function(r,n,a){200===a.status?_onCartShippingRatesUpdate(r.shipping_rates,e):setTimeout(t,500)},error:_onError})};return t},_fullMessagesFromErrors=function(e){var t=[];return jQuery.each(e,function(e,r){jQuery.each(r,function(r,n){t.push(e+" "+n)})}),t},_onError=function(XMLHttpRequest,textStatus){jQuery("#estimated-shipping").hide(),jQuery("#estimated-shipping em").empty(),_enableButtons();var feedback="",data=eval("("+XMLHttpRequest.responseText+")");feedback=data.message?data.message+"("+data.status+"): "+data.description:"Error : "+_fullMessagesFromErrors(data).join("; ")+".","Error : country is not supported."===feedback&&(feedback="We do not ship to this destination."),_render({rates:[],errorFeedback:feedback,success:!1}),jQuery("#"+_config.wrapperId).show()},_onCartShippingRatesUpdate=function(e,t){_enableButtons();var r="";if(t.zip&&(r+=t.zip+", "),t.province&&(r+=t.province+", "),r+=t.country,e.length){"0.00"==e[0].price?jQuery("#estimated-shipping em").html("FREE"):jQuery("#estimated-shipping em").html(_formatRate(e[0].price));for(var n=0;n<e.length;n++)e[n].price=_formatRate(e[n].price)}_render({rates:e,address:r,success:!0}),jQuery("#"+_config.wrapperId+", #estimated-shipping").fadeIn()},_formatRate=function(e){function t(e,t){return"undefined"==typeof e?t:e}function r(e,r,n,a){if(r=t(r,2),n=t(n,","),a=t(a,"."),isNaN(e)||null==e)return 0;e=(e/100).toFixed(r);var i=e.split("."),o=i[0].replace(/(\d)(?=(\d\d\d)+(?!\d))/g,"$1"+n),s=i[1]?a+i[1]:"";return o+s}if("function"==typeof Shopify.formatMoney)return Shopify.formatMoney(e,_config.moneyFormat);"string"==typeof e&&(e=e.replace(".",""));var n="",a=/\{\{\s*(\w+)\s*\}\}/,i=_config.moneyFormat;switch(i.match(a)[1]){case"amount":n=r(e,2);break;case"amount_no_decimals":n=r(e,0);break;case"amount_with_comma_separator":n=r(e,2,".",",");break;case"amount_no_decimals_with_comma_separator":n=r(e,0,".",",")}return i.replace(a,n)};return _init=function(){new Shopify.CountryProvinceSelector("address_country","address_province",{hideElement:"address_province_container"});var e=jQuery("#address_country"),t=jQuery("#address_province_label").get(0);"undefined"!=typeof Countries&&(Countries.updateProvinceLabel(e.val(),t),e.change(function(){Countries.updateProvinceLabel(e.val(),t)})),jQuery(".get-rates").click(function(){_disableButtons(),jQuery("#"+_config.wrapperId).empty().hide();var e={};e.zip=jQuery("#address_zip").val()||"",e.country=jQuery("#address_country").val()||"",e.province=jQuery("#address_province").val()||"",_getCartShippingRatesForDestination(e)}),_config.customerIsLoggedIn&&jQuery(".get-rates:eq(0)").trigger("click")},{show:function(e){e=e||{},jQuery.extend(_config,e),jQuery(function(){_init()})},getConfig:function(){return _config},formatRate:function(e){return _formatRate(e)}}}();

settings_schema.json:

[
  {
    "name": "theme_info",
    "logo": "https:\/\/cdn.shopify.com\/s\/global\/branding\/shopify_logo_256x256.png",
    "settings": [
      {
        "type": "header",
        "content": "Classic Theme"
      },
      {
        "type": "paragraph",
        "content": "This theme is officially supported by Shopify, if you have any questions please [contact our support team](mailto:themesupport@shopify.com)."
      }
    ]
  },
  {
    "name": "Colors",
    "settings": [
      {
        "type": "header",
        "content": "General"
      },
      {
        "type": "color",
        "id": "color_body_bg",
        "label": "Body background",
        "default": "#ffffff"
      },
      {
        "type": "color",
        "id": "color_header_bg",
        "label": "Header, footer, and collection image background",
        "default": "#ffffff"
      },
      {
        "type": "color",
        "id": "color_borders",
        "label": "Lines and borders",
        "default": "#e5e5e5"
      },
      {
        "type": "color",
        "id": "color_topbar_bg",
        "label": "Top bar background",
        "default": "#204a80"
      },
      {
        "type": "color",
        "id": "color_topbar_text",
        "label": "Top bar text",
        "default": "#ffffff"
      },
      {
        "type": "header",
        "content": "Buttons"
      },
      {
        "type": "color",
        "id": "color_primary",
        "label": "Primary buttons and links",
        "default": "#204a80"
      },
      {
        "type": "color",
        "id": "color_button_primary_text",
        "label": "Primary button text",
        "default": "#ffffff"
      },
      {
        "type": "color",
        "id": "color_secondary",
        "label": "Secondary buttons",
        "default": "#dcdcdc"
      },
      {
        "type": "color",
        "id": "color_button_secondary_text",
        "label": "Secondary button text",
        "default": "#ffffff"
      },
      {
        "type": "header",
        "content": "Text"
      },
      {
        "type": "color",
        "id": "color_header_text",
        "label": "Header",
        "default": "#333333"
      },
      {
        "type": "color",
        "id": "color_body_text",
        "label": "Body",
        "default": "#333333"
      },
      {
        "type": "color",
        "id": "color_footer_text",
        "label": "Footer",
        "default": "#636363"
      },
      {
        "type": "color",
        "id": "color_footer_social_link",
        "label": "Social media",
        "default": "#bbbbbb"
      }
    ]
  },
  {
    "name": "Typography",
    "settings": [
      {
        "type": "header",
        "content": "Base styles"
      },
      {
        "type": "select",
        "id": "type_base_family",
        "label": "Base family",
        "options": [
          {
            "value": "'Avant Garde', Avantgarde, 'Century Gothic', CenturyGothic, 'AppleGothic', sans-serif",
            "label": "Avant Garde",
            "group": "Sans-serif"
          },
          {
            "value": "'Gill Sans', 'Gill Sans MT', Calibri, sans-serif",
            "label": "Gill Sans",
            "group": "Sans-serif"
          },
          {
            "value": "'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif",
            "label": "Helvetica Neue",
            "group": "Sans-serif"
          },
          {
            "value": "Arial, 'Helvetica Neue', Helvetica, sans-serif",
            "label": "Arial",
            "group": "Sans-serif"
          },
          {
            "value": "Candara, Calibri, Segoe, 'Segoe UI', Optima, Arial, sans-serif",
            "label": "Candara",
            "group": "Sans-serif"
          },
          {
            "value": "Geneva, Tahoma, Verdana, sans-serif",
            "label": "Geneva",
            "group": "Sans-serif"
          },
          {
            "value": "Google_Droid+Sans_400,700_sans",
            "label": "Droid Sans",
            "group": "Sans-serif | Google Web Fonts"
          },
          {
            "value": "Google_Lato_400,700_sans",
            "label": "Lato",
            "group": "Sans-serif | Google Web Fonts"
          },
          {
            "value": "Google_Montserrat_400,700_sans",
            "label": "Montserrat",
            "group": "Sans-serif | Google Web Fonts"
          },
          {
            "value": "Google_Open+Sans_400,700_sans",
            "label": "Open Sans",
            "group": "Sans-serif | Google Web Fonts"
          },
          {
            "value": "Google_PT+Sans_400,700_sans",
            "label": "PT Sans",
            "group": "Sans-serif | Google Web Fonts"
          },
          {
            "value": "Google_Raleway_600,800_sans",
            "label": "Raleway",
            "group": "Sans-serif | Google Web Fonts"
          },
          {
            "value": "Google_Roboto_400,700_sans",
            "label": "Roboto",
            "group": "Sans-serif | Google Web Fonts"
          },
          {
            "value": "Google_Source+Sans+Pro_400,700_sans",
            "label": "Source Sans Pro",
            "group": "Sans-serif | Google Web Fonts"
          },
          {
            "value": "Google_Ubuntu_400,700_sans",
            "label": "Ubuntu",
            "group": "Sans-serif | Google Web Fonts"
          },
          {
            "value": "'Big Caslon', 'Book Antiqua', 'Palatino Linotype', Georgia, serif",
            "label": "Big Calson",
            "group": "Serif"
          },
          {
            "value": "'Calisto MT', 'Bookman Old Style', Bookman, 'Goudy Old Style', Garamond, 'Hoefler Text', 'Bitstream Charter', Georgia, serif",
            "label": "Calisto MT",
            "group": "Serif"
          },
          {
            "value": "Baskerville, 'Baskerville Old Face', 'Hoefler Text', Garamond, 'Times New Roman', serif",
            "label": "Baskerville",
            "group": "Serif"
          },
          {
            "value": "Garamond, Baskerville, 'Baskerville Old Face', 'Hoefler Text', 'Times New Roman', serif",
            "label": "Garamond",
            "group": "Serif"
          },
          {
            "value": "Georgia, 'Hoefler Text', 'Times New Roman', serif",
            "label": "Georgia",
            "group": "Serif"
          },
          {
            "value": "TimesNewRoman, 'Times New Roman', Times, Baskerville, Georgia, serif",
            "label": "Times New Roman",
            "group": "Serif"
          },
          {
            "value": "Google_Arvo_400,400_serif",
            "label": "Arvo",
            "group": "Serif | Google Web Fonts"
          },
          {
            "value": "Google_Crimson+Text_400,700_serif",
            "label": "Crimson Text",
            "group": "Serif | Google Web Fonts"
          },
          {
            "value": "Google_Droid+Serif_400,700_serif",
            "label": "Droid Serif",
            "group": "Serif | Google Web Fonts"
          },
          {
            "value": "Google_Lora_400,700_serif",
            "label": "Lora",
            "group": "Serif | Google Web Fonts"
          },
          {
            "value": "Google_PT+Serif_400,700_serif",
            "label": "PT Serif",
            "group": "Serif | Google Web Fonts"
          },
          {
            "value": "Google_Vollkorn_400,700_serif",
            "label": "Vollkorn",
            "group": "Serif | Google Web Fonts"
          }
        ]
      },
      {
        "type": "select",
        "id": "type_base_size",
        "label": "Base font size",
        "options": [
          {
            "value": "12px",
            "label": "12px"
          },
          {
            "value": "13px",
            "label": "13px"
          },
          {
            "value": "14px",
            "label": "14px"
          },
          {
            "value": "15px",
            "label": "15px"
          },
          {
            "value": "16px",
            "label": "16px"
          }
        ]
      },
      {
        "type": "header",
        "content": "Header styles"
      },
      {
        "type": "select",
        "id": "type_header_family",
        "label": "Header family",
        "options": [
          {
            "value": "'Avant Garde', Avantgarde, 'Century Gothic', CenturyGothic, 'AppleGothic', sans-serif",
            "label": "Avant Garde",
            "group": "Sans-serif"
          },
          {
            "value": "'Gill Sans', 'Gill Sans MT', Calibri, sans-serif",
            "label": "Gill Sans",
            "group": "Sans-serif"
          },
          {
            "value": "'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif",
            "label": "Helvetica Neue",
            "group": "Sans-serif"
          },
          {
            "value": "Arial, 'Helvetica Neue', Helvetica, sans-serif",
            "label": "Arial",
            "group": "Sans-serif"
          },
          {
            "value": "Candara, Calibri, Segoe, 'Segoe UI', Optima, Arial, sans-serif",
            "label": "Candara",
            "group": "Sans-serif"
          },
          {
            "value": "Geneva, Tahoma, Verdana, sans-serif",
            "label": "Geneva",
            "group": "Sans-serif"
          },
          {
            "value": "Google_Droid+Sans_400_sans",
            "label": "Droid Sans",
            "group": "Sans-serif | Google Web Fonts"
          },
          {
            "value": "Google_Droid+Sans_700_sans",
            "label": "Droid Sans Bold",
            "group": "Sans-serif | Google Web Fonts"
          },
          {
            "value": "Google_Lato_400_sans",
            "label": "Lato",
            "group": "Sans-serif | Google Web Fonts"
          },
          {
            "value": "Google_Lato_700_sans",
            "label": "Lato Bold",
            "group": "Sans-serif | Google Web Fonts"
          },
          {
            "value": "Google_Montserrat_400_sans",
            "label": "Montserrat",
            "group": "Sans-serif | Google Web Fonts"
          },
          {
            "value": "Google_Montserrat_700_sans",
            "label": "Montserrat Bold",
            "group": "Sans-serif | Google Web Fonts"
          },
          {
            "value": "Google_Open+Sans_400_sans",
            "label": "Open Sans",
            "group": "Sans-serif | Google Web Fonts"
          },
          {
            "value": "Google_Open+Sans_700_sans",
            "label": "Open Sans Bold",
            "group": "Sans-serif | Google Web Fonts"
          },
          {
            "value": "Google_PT+Sans_400_sans",
            "label": "PT Sans",
            "group": "Sans-serif | Google Web Fonts"
          },
          {
            "value": "Google_PT+Sans_700_sans",
            "label": "PT Sans Bold",
            "group": "Sans-serif | Google Web Fonts"
          },
          {
            "value": "Google_Roboto_400_sans",
            "label": "Roboto",
            "group": "Sans-serif | Google Web Fonts"
          },
          {
            "value": "Google_Roboto_700_sans",
            "label": "Roboto Bold",
            "group": "Sans-serif | Google Web Fonts"
          },
          {
            "value": "Google_Source+Sans+Pro_400_sans",
            "label": "Source Sans Pro",
            "group": "Sans-serif | Google Web Fonts"
          },
          {
            "value": "Google_Source+Sans+Pro_700_sans",
            "label": "Source Sans Pro Bold",
            "group": "Sans-serif | Google Web Fonts"
          },
          {
            "value": "Google_Ubuntu_400_sans",
            "label": "Ubuntu",
            "group": "Sans-serif | Google Web Fonts"
          },
          {
            "value": "Google_Ubuntu_700_sans",
            "label": "Ubuntu Bold",
            "group": "Sans-serif | Google Web Fonts"
          },
          {
            "value": "'Big Caslon', 'Book Antiqua', 'Palatino Linotype', Georgia, serif",
            "label": "Big Calson",
            "group": "Serif"
          },
          {
            "value": "'Calisto MT', 'Bookman Old Style', Bookman, 'Goudy Old Style', Garamond, 'Hoefler Text', 'Bitstream Charter', Georgia, serif",
            "label": "Calisto MT",
            "group": "Serif"
          },
          {
            "value": "Baskerville, 'Baskerville Old Face', 'Hoefler Text', Garamond, 'Times New Roman', serif",
            "label": "Baskerville",
            "group": "Serif"
          },
          {
            "value": "Garamond, Baskerville, 'Baskerville Old Face', 'Hoefler Text', 'Times New Roman', serif",
            "label": "Garamond",
            "group": "Serif"
          },
          {
            "value": "TimesNewRoman, 'Times New Roman', Times, Baskerville, Georgia, serif",
            "label": "Times New Roman",
            "group": "Serif"
          },
          {
            "value": "Google_Arvo_400_serif",
            "label": "Arvo",
            "group": "Serif | Google Web Fonts"
          },
          {
            "value": "Google_Arvo_700_serif",
            "label": "Arvo Bold",
            "group": "Serif | Google Web Fonts"
          },
          {
            "value": "Google_Crimson+Text_400_serif",
            "label": "Crimson Text",
            "group": "Serif | Google Web Fonts"
          },
          {
            "value": "Google_Crimson+Text_700_serif",
            "label": "Crimson Text Bold",
            "group": "Serif | Google Web Fonts"
          },
          {
            "value": "Google_Droid+Serif_400_serif",
            "label": "Droid Serif",
            "group": "Serif | Google Web Fonts"
          },
          {
            "value": "Google_Droid+Serif_700_serif",
            "label": "Droid Serif Bold",
            "group": "Serif | Google Web Fonts"
          },
          {
            "value": "Google_Lora_400_serif",
            "label": "Lora",
            "group": "Serif | Google Web Fonts"
          },
          {
            "value": "Google_Lora_700_serif",
            "label": "Lora Bold",
            "group": "Serif | Google Web Fonts"
          },
          {
            "value": "Google_PT+Serif_400_serif",
            "label": "PT Serif",
            "group": "Serif | Google Web Fonts"
          },
          {
            "value": "Google_PT+Serif_700_serif",
            "label": "PT Serif Bold",
            "group": "Serif | Google Web Fonts"
          },
          {
            "value": "Google_Vollkorn_400_serif",
            "label": "Vollkorn",
            "group": "Serif | Google Web Fonts"
          },
          {
            "value": "Google_Vollkorn_700_serif",
            "label": "Vollkorn Bold",
            "group": "Serif | Google Web Fonts"
          }
        ]
      }
    ]
  },
  {
    "name": "Header",
    "settings": [
      {
        "type": "header",
        "content": "Logo"
      },
      {
        "type": "checkbox",
        "id": "logo_use_image",
        "label": "Use a custom logo"
      },
      {
        "type": "image",
        "id": "logo.png",
        "label": "Custom logo",
        "max-width": 450,
        "max-height": 200,
        "info": "450 x 200px recommended"
      },
      {
        "type": "text",
        "id": "logo_max_width",
        "label": "Custom logo width (in pixels)",
        "default": "450"
      },
      {
        "type": "header",
        "content": "Favicon"
      },
      {
        "type": "checkbox",
        "id": "favicon_enable",
        "label": "Use custom icon"
      },
      {
        "type": "image",
        "id": "favicon.png",
        "max-width": 16,
        "max-height": 16,
        "label": "Custom icon",
        "info": "16 x 16px .png required"
      },
      {
        "type": "header",
        "content": "Top bar"
      },
      {
        "type": "text",
        "id": "header_message",
        "label": "Top bar message",
        "info": "Max 55 characters"
      },
      {
        "type": "checkbox",
        "id": "header_search_enable",
        "label": "Show search bar"
      }
    ]
  },
  {
    "name": "Sidebar",
    "settings": [
      {
        "type": "checkbox",
        "id": "sidebar_enable",
        "label": "Show sidebar"
      },
      {
        "type": "header",
        "content": "Sidebar menus",
        "info": "Select up to 5 menus to show in your sidebar. To learn how to create a drop-down menu, vist the [Shopify Help Center](http:\/\/docs.shopify.com\/manual\/your-website\/navigation\/create-drop-down-menu)."
      },
      {
        "type": "link_list",
        "id": "sidebar_linklist_1",
        "label": "Menu 1"
      },
      {
        "type": "link_list",
        "id": "sidebar_linklist_2",
        "label": "Menu 2"
      },
      {
        "type": "link_list",
        "id": "sidebar_linklist_3",
        "label": "Menu 3"
      },
      {
        "type": "link_list",
        "id": "sidebar_linklist_4",
        "label": "Menu 4"
      },
      {
        "type": "link_list",
        "id": "sidebar_linklist_5",
        "label": "Menu 5"
      },
      {
        "type": "header",
        "content": "Optional elements"
      },
      {
        "type": "checkbox",
        "id": "sidebar_type_enable",
        "label": "Shop by type"
      },
      {
        "type": "checkbox",
        "id": "sidebar_vendor_enable",
        "label": "Shop by vendor"
      },
      {
        "type": "checkbox",
        "id": "sidebar_articles_enable",
        "label": "Recent blog posts"
      },
      {
        "type": "blog",
        "id": "sidebar_articles_blog",
        "label": "Show posts from"
      },
      {
        "type": "checkbox",
        "id": "sidebar_content_enable",
        "label": "Show custom content form"
      },
      {
        "type": "page",
        "id": "sidebar_content_page",
        "label": "Show custom content from",
        "info": "Max 50 words"
      }
    ]
  },
  {
    "name": "Footer",
    "settings": [
      {
        "type": "header",
        "content": "Footer menu"
      },
      {
        "type": "checkbox",
        "id": "footer_quicklinks_enable",
        "label": "Show footer menu"
      },
      {
        "type": "link_list",
        "id": "footer_quicklinks_linklist",
        "label": "Footer menu quick links"
      },
      {
        "type": "header",
        "content": "Social media"
      },
      {
        "type": "checkbox",
        "id": "footer_social_enable",
        "label": "Show social media icons"
      },
      {
        "type": "text",
        "id": "social_twitter_link",
        "label": "Twitter",
        "info": "https:\/\/twitter.com\/shopify"
      },
      {
        "type": "text",
        "id": "social_facebook_link",
        "label": "Facebook",
        "info": "https:\/\/www.facebook.com\/shopify"
      },
      {
        "type": "text",
        "id": "social_pinterest_link",
        "label": "Pinterest",
        "info": "https:\/\/www.pinterest.com\/shopify"
      },
      {
        "type": "text",
        "id": "social_google_plus_link",
        "label": "Google+",
        "info": "https:\/\/plus.google.com\/+shopify"
      },
      {
        "type": "text",
        "id": "social_instagram_link",
        "label": "Instagram",
        "info": "https:\/\/instagram.com\/shopify"
      },
      {
        "type": "text",
        "id": "social_tumblr_link",
        "label": "Tumblr",
        "info": "http:\/\/shopify.tumblr.com"
      },
      {
        "type": "text",
        "id": "social_youtube_link",
        "label": "YouTube",
        "info": "https:\/\/www.youtube.com\/user\/shopify"
      },
      {
        "type": "text",
        "id": "social_vimeo_link",
        "label": "Vimeo",
        "info": "https:\/\/vimeo.com\/shopify"
      },
      {
        "type": "text",
        "id": "social_fancy_link",
        "label": "Fancy",
        "info": "http:\/\/fancy.com\/shopify"
      },
      {
        "type": "text",
        "id": "social_rss_link",
        "label": "RSS",
        "info": "http:\/\/store.myshopify.com\/blogs\/blogname.atom"
      },
      {
        "type": "checkbox",
        "id": "footer_contact_enable",
        "label": "Show contact information"
      },
      {
        "type": "textarea",
        "id": "footer_contact_text",
        "label": "Contact text",
        "info": "Use basic HTML to format text"
      },
      {
        "type": "checkbox",
        "id": "footer_newsletter_enable",
        "label": "Show newsletter sign-up"
      },
      {
        "type": "text",
        "id": "newsletter_form_action",
        "label": "MailChimp form action URL",
        "info": "[Find your MailChimp form action URL](https:\/\/docs.shopify.com\/manual\/configuration\/store-customization\/communicating-with-customers\/accounts-and-newsletters\/get-a-mailchimp-form-action-url)."
      }
    ]
  },
  {
    "name": "Home page",
    "settings": [
      {
        "type": "header",
        "content": "Section order"
      },
      {
        "type": "paragraph",
        "content": "Choose your home page sections and their order."
      },
      {
        "type": "select",
        "id": "home_section_1",
        "label": "Section 1",
        "options": [
          {
            "value": "",
            "label": "None"
          },
          {
            "value": "slider",
            "label": "Slider"
          },
          {
            "value": "featured-collections",
            "label": "Featured Collections"
          },
          {
            "value": "featured-products",
            "label": "Featured Products"
          },
          {
            "value": "home-content",
            "label": "Page Content"
          }
        ]
      },
      {
        "type": "select",
        "id": "home_section_2",
        "label": "Section 2",
        "options": [
          {
            "value": "",
            "label": "None"
          },
          {
            "value": "slider",
            "label": "Slider"
          },
          {
            "value": "featured-collections",
            "label": "Featured Collections"
          },
          {
            "value": "featured-products",
            "label": "Featured Products"
          },
          {
            "value": "home-content",
            "label": "Page Content"
          }
        ]
      },
      {
        "type": "select",
        "id": "home_section_3",
        "label": "Section 3",
        "options": [
          {
            "value": "",
            "label": "None"
          },
          {
            "value": "slider",
            "label": "Slider"
          },
          {
            "value": "featured-collections",
            "label": "Featured Collections"
          },
          {
            "value": "featured-products",
            "label": "Featured Products"
          },
          {
            "value": "home-content",
            "label": "Page Content"
          }
        ]
      },
      {
        "type": "select",
        "id": "home_section_4",
        "label": "Section 4",
        "options": [
          {
            "value": "",
            "label": "None"
          },
          {
            "value": "slider",
            "label": "Slider"
          },
          {
            "value": "featured-collections",
            "label": "Featured Collections"
          },
          {
            "value": "featured-products",
            "label": "Featured Products"
          },
          {
            "value": "home-content",
            "label": "Page Content"
          }
        ]
      }
    ]
  },
  {
    "name": "Home page - slideshow",
    "settings": [
      {
        "type": "checkbox",
        "id": "slider_home_auto",
        "label": "Auto-rotate slides"
      },
      {
        "type": "select",
        "id": "slider_home_rate",
        "label": "Rotation interval",
        "options": [
          {
            "value": "5000",
            "label": "5 seconds"
          },
          {
            "value": "7000",
            "label": "7 seconds"
          },
          {
            "value": "10000",
            "label": "10 seconds"
          },
          {
            "value": "15000",
            "label": "15 seconds"
          }
        ]
      },
      {
        "type": "select",
        "id": "slider_home_transition",
        "label": "Transition effect",
        "options": [
          {
            "value": "fade",
            "label": "Fade"
          },
          {
            "value": "slide",
            "label": "Slide"
          }
        ]
      },
      {
        "type": "header",
        "content": "Slide 1"
      },
      {
        "type": "checkbox",
        "id": "slide_1",
        "label": "Enable"
      },
      {
        "type": "image",
        "id": "slide_1.jpg",
        "label": "Image",
        "max-width": 970,
        "info": "970 x 450px recommended"
      },
      {
        "type": "text",
        "id": "slide_1_link",
        "label": "Link URL"
      },
      {
        "type": "text",
        "id": "slide_1_alt",
        "label": "Alt text"
      },
      {
        "type": "header",
        "content": "Slide 2"
      },
      {
        "type": "checkbox",
        "id": "slide_2",
        "label": "Enable"
      },
      {
        "type": "image",
        "id": "slide_2.jpg",
        "label": "Image",
        "max-width": 970,
        "info": "970 x 450px recommended"
      },
      {
        "type": "text",
        "id": "slide_2_link",
        "label": "Link URL"
      },
      {
        "type": "text",
        "id": "slide_2_alt",
        "label": "Alt text"
      },
      {
        "type": "header",
        "content": "Slide 3"
      },
      {
        "type": "checkbox",
        "id": "slide_3",
        "label": "Enable"
      },
      {
        "type": "image",
        "id": "slide_3.jpg",
        "label": "Image",
        "max-width": 970,
        "info": "970 x 450px recommended"
      },
      {
        "type": "text",
        "id": "slide_3_link",
        "label": "Link URL"
      },
      {
        "type": "text",
        "id": "slide_3_alt",
        "label": "Alt text"
      },
      {
        "type": "header",
        "content": "Slide 4"
      },
      {
        "type": "checkbox",
        "id": "slide_4",
        "label": "Enable"
      },
      {
        "type": "image",
        "id": "slide_4.jpg",
        "label": "Image",
        "max-width": 970,
        "info": "970 x 450px recommended"
      },
      {
        "type": "text",
        "id": "slide_4_link",
        "label": "Link URL"
      },
      {
        "type": "text",
        "id": "slide_4_alt",
        "label": "Alt text"
      },
      {
        "type": "header",
        "content": "Slide 5"
      },
      {
        "type": "checkbox",
        "id": "slide_5",
        "label": "Enable"
      },
      {
        "type": "image",
        "id": "slide_5.jpg",
        "label": "Image",
        "max-width": 970,
        "info": "970 x 450px recommended"
      },
      {
        "type": "text",
        "id": "slide_5_link",
        "label": "Link URL"
      },
      {
        "type": "text",
        "id": "slide_5_alt",
        "label": "Alt text"
      },
      {
        "type": "header",
        "content": "Slide 6"
      },
      {
        "type": "checkbox",
        "id": "slide_6",
        "label": "Enable"
      },
      {
        "type": "image",
        "id": "slide_6.jpg",
        "label": "Image",
        "max-width": 970,
        "info": "970 x 450px recommended"
      },
      {
        "type": "text",
        "id": "slide_6_link",
        "label": "Link URL"
      },
      {
        "type": "text",
        "id": "slide_6_alt",
        "label": "Alt text"
      }
    ]
  },
  {
    "name": "Home page - featured collections",
    "settings": [
      {
        "type": "checkbox",
        "id": "home_featured_desc_enable",
        "label": "Show collection descriptions"
      },
      {
        "type": "radio",
        "id": "home_featured_collections_sort",
        "label": "Choose collections",
        "options": [
          {
            "value": "auto",
            "label": "Automatically (up to 3)"
          },
          {
            "value": "manual",
            "label": "Manually:"
          }
        ]
      },
      {
        "type": "collection",
        "id": "collection_1"
      },
      {
        "type": "collection",
        "id": "collection_2"
      },
      {
        "type": "collection",
        "id": "collection_3"
      },
      {
        "type": "collection",
        "id": "collection_4"
      },
      {
        "type": "collection",
        "id": "collection_5"
      }
    ]
  },
  {
    "name": "Home page - featured products",
    "settings": [
      {
        "type": "collection",
        "id": "home_featured_products",
        "label": "Featured collection"
      },
      {
        "type": "select",
        "id": "home_featured_products_num",
        "label": "Number of products per row",
        "options": [
          {
            "value": "3",
            "label": "3"
          },
          {
            "value": "4",
            "label": "4"
          },
          {
            "value": "5",
            "label": "5"
          }
        ]
      },
      {
        "type": "select",
        "id": "home_featured_products_row_num",
        "label": "Number of rows",
        "options": [
          {
            "value": "1",
            "label": "1"
          },
          {
            "value": "2",
            "label": "2"
          },
          {
            "value": "3",
            "label": "3"
          },
          {
            "value": "4",
            "label": "4"
          },
          {
            "value": "5",
            "label": "5"
          },
          {
            "value": "6",
            "label": "6"
          }
        ]
      }
    ]
  },
  {
    "name": "Home page - featured content",
    "settings": [
      {
        "type": "page",
        "id": "home_page_content",
        "label": "Featured content"
      }
    ]
  },
  {
    "name": "Product page",
    "settings": [
      {
        "type": "checkbox",
        "id": "product_vendor_enable",
        "label": "Show product vendor"
      },
      {
        "type": "checkbox",
        "id": "product_quantity_enable",
        "label": "Show quantity selector"
      },
      {
        "type": "checkbox",
        "id": "product_image_zoom_enable",
        "label": "Enable image zoom"
      },
      {
        "type": "checkbox",
        "id": "product_related_enable",
        "label": "Enable related products"
      },
      {
        "type": "header",
        "content": "Product reviews"
      },
      {
        "type": "paragraph",
        "content": "Add product reviews to this theme with the free Shopify [Product Reviews](https:\/\/apps.shopify.com\/product-reviews) app."
      },
      {
        "type": "checkbox",
        "id": "product_reviews_enable",
        "label": "Show product reviews"
      },
      {
        "type": "color",
        "id": "product_reviews_star_color",
        "label": "Star color",
        "default": "#ffd500",
        "info": "This selection overrides your product review app settings."
      }
    ]
  },
  {
    "name": "Collection page",
    "settings": [
      {
        "type": "checkbox",
        "id": "collections_sort_enable",
        "label": "Enable collection sorting"
      },
      {
        "type": "checkbox",
        "id": "collections_tags_enable",
        "label": "Enable filtering by product tag"
      },
      {
        "type": "checkbox",
        "id": "collections_views_enable",
        "label": "Enable grid and list views"
      },
      {
        "type": "checkbox",
        "id": "collections_show_sale_circle",
        "label": "Show product sale circle"
      },
      {
        "type": "checkbox",
        "id": "collections_show_sold_out_circle",
        "label": "Show product sold out circle"
      }
    ]
  },
  {
    "name": "Blog page",
    "settings": [
      {
        "type": "checkbox",
        "id": "blog_author_enable",
        "label": "Show blog post author"
      }
    ]
  },
  {
    "name": "Cart page",
    "settings": [
      {
        "type": "checkbox",
        "id": "cart_notes_enable",
        "label": "Enable order notes"
      },
      {
        "type": "select",
        "id": "ajax_cart_method",
        "label": "Cart type",
        "options": [
          {
            "value": "drawer",
            "label": "Drawer"
          },
          {
            "value": "page",
            "label": "Page"
          },
          {
            "value": "flip",
            "label": "Flip"
          },
          {
            "value": "modal",
            "label": "Modal"
          }
        ]
      }
    ]
  },
  {
    "name": "Social media",
    "settings": [
      {
        "type": "checkbox",
        "id": "social_sharing_products",
        "label": "Enable product sharing"
      },
      {
        "type": "checkbox",
        "id": "social_sharing_blog",
        "label": "Enable blog post sharing"
      },
      {
        "type": "checkbox",
        "id": "social_sharing_count",
        "label": "Show number of shares",
        "info": "Available for Facebook, Twitter, and Pinterest."
      },
      {
        "type": "select",
        "id": "social_sharing_style",
        "label": "Button style",
        "options": [
          {
            "value": "normal",
            "label": "Normal"
          },
          {
            "value": "is-large",
            "label": "Large"
          },
          {
            "value": "is-clean",
            "label": "Clean"
          }
        ]
      },
      {
        "type": "header",
        "content": "Sharing"
      },
      {
        "type": "checkbox",
        "id": "share_facebook",
        "label": "Share on Facebook"
      },
      {
        "type": "checkbox",
        "id": "share_twitter",
        "label": "Tweet on Twitter"
      },
      {
        "type": "checkbox",
        "id": "share_pinterest",
        "label": "Pin on Pinterest"
      },
      {
        "type": "checkbox",
        "id": "share_fancy",
        "label": "Add to Fancy"
      },
      {
        "type": "checkbox",
        "id": "share_google",
        "label": "+1 on Google Plus"
      }
    ]
  },
  {
    "name": "Shipping Rates Calculator",
    "settings": [
      {
        "type": "select",
        "id": "shipping_calculator",
        "label": "Show the shipping calculator?",
        "options": [
          {
            "value": "Disabled",
            "label": "No"
          },
          {
            "value": "Enabled",
            "label": "Yes"
          }
        ],
        "default": "Enabled"
      },
      {
        "type": "text",
        "id": "shipping_calculator_heading",
        "label": "Heading text",
        "default": "Get shipping estimates"
      },
      {
        "type": "text",
        "id": "shipping_calculator_default_country",
        "label": "Default country selection",
        "default": "United States"
      },
      {
        "type": "paragraph",
        "content": "If your customer is logged-in, the country in his default shipping address will be selected. If you are not sure about the  spelling to use here, refer to the first checkout page."
      },
      {
        "type": "text",
        "id": "shipping_calculator_submit_button_label",
        "label": "Submit button label",
        "default": "Calculate shipping"
      },
      {
        "type": "text",
        "id": "shipping_calculator_submit_button_label_disabled",
        "label": "Submit button label when calculating",
        "default": "Calculating..."
      },
      {
        "type": "paragraph",
        "content": "Do not forget to include the snippet shipping-calculator in your cart.liquid template where you want the shipping calculator to appear. You can get the snippet here: [shipping-calculator.liquid](https:\/\/github.com\/carolineschnapp\/shipping-calculator\/blob\/master\/shipping-calculator.liquid) ."
      }
    ]
  }
]

theme.liquid:

<!doctype html>
<!--[if lt IE 7]><html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
<!--[if IE 7]><html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]-->
<!--[if IE 8]><html class="no-js lt-ie9" lang="en"> <![endif]-->
<!--[if IE 9 ]><html class="ie9 no-js"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--> <html class="no-js"> <!--<![endif]-->
<head>

  <!-- Basic page needs ================================================== -->
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="google-site-verification" content="_PNBTOtYB-r5DEFX-7hz0HgBF4GCOxEvUMVBjnTHqu4" />
  {% if settings.favicon_enable %}
  <link rel="shortcut icon" href="{{ 'favicon.png' | asset_url }}" type="image/png" />
  {% endif %}

  <!-- Title and description ================================================== -->
  <title>
  {{ page_title }}{% if current_tags %}{% assign meta_tags = current_tags | join: ', ' %} &ndash; {{ 'general.meta.tags' | t: tags: meta_tags }}{% endif %}{% if current_page != 1 %} &ndash; {{ 'general.meta.page' | t: page: current_page }}{% endif %}{% unless page_title contains shop.name %} &ndash; {{ shop.name }}{% endunless %}
  </title>

  {% if page_description %}
  <meta name="description" content="{{ page_description | escape }}">
  {% endif %}
  
<!-- Global site tag (gtag.js) - Google Ads: 939981874 -->
<script async src="https://www.googletagmanager.com/gtag/js?id=AW-939981874"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

  gtag('config', 'AW-939981874');
</script>
  

  <!-- Social Meta Tags ================================================== -->
  {% include 'social-meta-tags' %}

  <!-- Helpers ================================================== -->
  <link rel="canonical" href="{{ canonical_url }}">
  <meta name="viewport" content="width=device-width,initial-scale=1">
  <meta name="theme-color" content="{{ settings.color_primary }}">

  {% if settings.ajax_cart_method != 'page' %}
  <!-- Ajaxify Cart Plugin ================================================== -->
  {{ 'ajaxify.scss.css' | asset_url | stylesheet_tag }}
  {% endif %}

  <!-- CSS ================================================== -->
  {{ 'timber.scss.css' | asset_url | stylesheet_tag }}
  {{ 'theme.scss.css' | asset_url | stylesheet_tag }}

  {% include 'google-fonts' %}

  <!-- Header hook for plugins ================================================== -->
     {{ content_for_header }}
{% comment %}{%- include 'bold-common' -%}
{%- include 'bold-product' with product, hide_action: 'header' -%} {% endcomment %}

{% include 'oldIE-js' %} 

  {% comment %}{{ '//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js' | script_tag }}{% endcomment %}
  {{ '//ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js' | script_tag }}
  {{ 'modernizr.min.js' | asset_url | script_tag }} 

  {% comment %}
    If you store has customer accounts disabled, you can remove the following JS file
  {% endcomment %}
  {% if template contains 'customers' %}
    {{ 'shopify_common.js' | shopify_asset_url | script_tag }}
  {% endif %}
  
  {{ 'galleria-1.4.2.min.js' | asset_url | script_tag }}
  
  <style type="text/css">
   .mobileShow { display: none;}
   /* Smartphone Portrait and Landscape */
   @media only screen
   and (min-device-width : 320px)
   and (max-device-width : 600px){ .mobileShow { display: inline;}}
  </style>
<style type="text/css">
   .mobileHide { display: inline;}
   /* Smartphone Portrait and Landscape */
   @media only screen
   and (min-device-width : 320px)
   and (max-device-width : 600px){  .mobileHide { display: none;}}
  
  .stamped-widget-drawer .stamped-widget-button {
    background: #2196f3 !important;
  }
    
  .shopry-widget-drawer .shopry-widget-button {
    background: #2196f3 !important;
  }

  }
  
</style>
  
<style type="text/css">
   .first-line {text-indent: -3em; padding-left: 3em;}
  
  .first-line::first-line {line-height: 3em;}
</style>

{% include 'sca-quick-view-init' %}
  
{{ 'jquery-1.10.1.min.js' | asset_url | script_tag }}
{{ 'jquery.mousewheel-3.0.6.pack.js' | asset_url | script_tag }}
{{ "jquery.fancybox.css" | asset_url | stylesheet_tag }}
{{ 'jquery.fancybox.pack.js' | asset_url | script_tag }}
{{ "jquery.fancybox-buttons.css" | asset_url | stylesheet_tag }}
{{ 'jquery.fancybox-buttons.js' | asset_url | script_tag }}
{{ 'jquery.fancybox-media.js' | asset_url | script_tag }}
{{ "jquery.fancybox-thumbs.css" | asset_url | stylesheet_tag }}
{{ 'jquery.fancybox-thumbs.js' | asset_url | script_tag }}
  
    {% comment %} <script type="text/javascript" src="{{ 'instafeed.min.js' | asset_url }}"></script>
  {% assign instafeed_template = '<a href="{{link}}"><img src="{{image}}" /></a>' %}
    <script type="text/javascript">
    var feed = new Instafeed({
        get: 'tagged',
        tagName: 'awesome',
        clientId: 'YOUR_CLIENT_ID'
        template: '{{ instafeed_template }}'
    });
    feed.run();
      
     // create selector for variant inventory quantity, non-relevant selectors omitted
  var selectors = {
    SKU: '.variant-sku',
    variantInventory: '.variant-inventory'
  };

  // Show SKU
  $(selectors.SKU, this.$container).html(variant.sku);  

  // Show variant inventory quantity using similar code snippet to SKU, placed just below     
  $(selectors.variantInventory, this.$container).html(inv_qty[ variant.id ]);
      
</script> {% endcomment %}
 
<!--   This area was rendered by Stores App --> 
	{% comment %} {% include 'globo-stores-script' %} {% endcomment %}
<!-- End Area -->
</head>

{% comment %}<div id="shopry-reviews-widget" data-widget-type="drawer" data-random="True" data-show-avatar="True" data-title="SEE WHAT OUR CUSTOMERS SAY ABOUT US" data-background-color="#2196f3"></div>{% endcomment %}
<div id="stamped-reviews-widget" data-widget-type="drawer" data-show-avatar="true" data-background-color="#2196f3" data-style-color-link="#982f9c"></div>

<body id="{{ page_title | handle }}" class="{% if customer %}customer-logged-in {% endif %}template-{{ template | replace: '.', ' ' | truncatewords: 1, '' | handle }} {% if template contains 'photoblog' %}zoom-aware{% endif %}">

  <div id="rapper">
  <div id="fb-root"></div>
   
    <div id="fb-root"></div>
<script>(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src="//connect.facebook.net/en_GB/sdk.js#xfbml=1&version=v2.7";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>


{% comment %} alerti alertt alertd 
    <div class="alerti" style="margin-bottom:0px; text-align:center;padding:10px;">
  <span class="closebtnt">&times;</span>  
  <strong>Up to 40% OFF EOFY SALE</strong> - Ends 30 June!
    </div> {% endcomment %}


    
  {% include 'header-bar' %}

  <header class="site-header" role="banner" style="padding: 15px;">
    <div class="wrapper" style="padding: 0px 10px 0px 10px">

      <div class="grid--full large--display-table">
        <div class="grid__item large--one-quarter large--display-table-cell" style="padding: 0px 20px 0px 0px"> {% comment %} added style="width:40%" style width to enlarge logo{% endcomment %}
          {% if template == 'index' %}
            <h1 class="site-header__logo large--left" itemscope itemtype="http://schema.org/Organization">
          {% else %}
            <div class="h1 site-header__logo large--left" itemscope itemtype="http://schema.org/Organization">
          {% endif %}
            {% if settings.logo_use_image %}
              <a href="/" itemprop="url">
                <img src="https://cdn.shopify.com/s/files/1/1240/7474/files/02---Kingdom-3d-Full-Logo-1000px_d432cc22-aee8-4786-bde9-94127ae30911.png?421086370678782811" alt="{{ shop.name }}" itemprop="logo"> {% comment %}{{ 'logo.png' | asset_url }}{% endcomment %}
              </a>
            {% else %}
              <a href="/" itemprop="url">{{ shop.name }}</a>
            {% endif %}
          {% if template == 'index' %}
            </h1>
          {% else %}
            </div>
          {% endif %}
          {% if settings.header_message != blank %}
            <p class="header-message large--hide">
              <small>{{ settings.header_message }}</small>
            </p>
          {% endif %}
        </div>
        

        
        <div class="grid__item large--one-half large--display-table-cell medium-down--hide">
          {% include 'site-nav' %}
        </div>
        
        <div class="grid__item large--one-quarter large--display-table-cell" style="padding: 0px 20px 0px 0px; text-align: right;">
          {% if settings.header_search_enable %}
          <div class="header-bar__module header-bar__search">
            {% include 'search-bar' with 'header' %}
          </div>
        {% endif %}
        </div>
      </div>

    </div>
  </header>
      </div>

  <main class="wrapper main-content" role="main">
    <div class="grid">
      {% if settings.sidebar_enable %}
        <div class="grid__item large--one-fifth medium-down--hide">
          {% include 'sidebar' %}
        </div>
        <div class="grid__item large--four-fifths">
          {{ content_for_layout }}
        </div>
      {% else %}
        <div class="grid__item">
          {{ content_for_layout }}
        </div>
      {% endif %}
    </div>
  </main>
  
  <script> {% comment %} Aspect ratio of product images to 1:1 {% endcomment %}
var cw = $('.grid-link__image').width();
$('.grid-link__image').css({'height':cw+'px'});
</script>

  <div id="rapper2">
  <footer class="site-footer small--text-center" role="contentinfo">

    <div class="wrapper">

      <div class="grid-uniform ">

        {% comment %}
          Calculate the number of footer columns shown
        {% endcomment %}
        {% assign num_footer_columns = 0 %}
        {% if settings.footer_quicklinks_enable %}
          {% assign num_footer_columns = num_footer_columns | plus: 1 %}
        {% endif %}
        {% if settings.footer_social_enable %}
          {% assign num_footer_columns = num_footer_columns | plus: 1 %}
        {% endif %}
        {% if settings.footer_contact_enable %}
          {% assign num_footer_columns = num_footer_columns | plus: 1 %}
        {% endif %}
        {% if settings.footer_newsletter_enable %}
          {% assign num_footer_columns = num_footer_columns | plus: 1 %}
        {% endif %}

        {% case num_footer_columns %}
          {% when 0 %}
          {% when 1 %}
            {% assign footer_column_width = '' %}
          {% when 2 %}
            {% assign footer_column_width = 'large--one-half medium--one-half' %}
          {% when 3 %}
            {% assign footer_column_width = 'large--one-third medium--one-third' %}
          {% when 4 %}
            {% assign footer_column_width = 'large--one-quarter medium--one-half' %}
        {% endcase %}

      
        {% if settings.footer_social_enable %}
          <div class="grid__item {{ footer_column_width }}">
              <h4 style="color: #d95bb7">Shop</h4>{% comment %} {{ 'layout.footer.social_title' | t }} {% endcomment %}
              {% comment %}
                Loop through the social network links
              {% endcomment %}
            
           <ul class="site-footer__links">
              <li><a href="/collections/filament">Filament</a></li>
              <li><a href="/collections/electrical-parts">Electrical Parts</a></li>
              <li><a href="/collections/mechanical-parts">Mechanical Parts</a></li>
              <li class="mobileHide"><a href="/collections/all-products">All Products</a></li>
            </ul>
            
            <ul class="inline-list social-icons">
                {% if settings.social_twitter_link != blank %}
                  <li>
                    <a class="icon-fallback-text" href="{{ settings.social_twitter_link }}" title="{{ 'layout.footer.social_platform' | t: name: shop.name, platform: 'Twitter' }}">
                      <span class="icon icon-twitter" aria-hidden="true"></span>
                      <span class="fallback-text">Twitter</span>
                    </a>
                  </li>
                {% endif %}
                {% if settings.social_facebook_link != blank %}
                  <li>
                    <a class="icon-fallback-text" href="{{ settings.social_facebook_link }}" title="{{ 'layout.footer.social_platform' | t: name: shop.name, platform: 'Facebook' }}">
                      <span class="icon icon-facebook" aria-hidden="true"></span>
                      <span class="fallback-text">Facebook</span>
                    </a>
                  </li>
                {% endif %}
                {% if settings.social_pinterest_link != blank %}
                  <li>
                    <a class="icon-fallback-text" href="{{ settings.social_pinterest_link }}" title="{{ 'layout.footer.social_platform' | t: name: shop.name, platform: 'Pinterest' }}">
                      <span class="icon icon-pinterest" aria-hidden="true"></span>
                      <span class="fallback-text">Pinterest</span>
                    </a>
                  </li>
                {% endif %}
                {% if settings.social_google_plus_link != blank %}
                  <li>
                    <a class="icon-fallback-text" href="{{ settings.social_google_plus_link }}" title="{{ 'layout.footer.social_platform' | t: name: shop.name, platform: 'Google Plus' }}" rel="publisher">
                      <span class="icon icon-google_plus" aria-hidden="true"></span>
                      <span class="fallback-text">Google</span>
                    </a>
                  </li>
                {% endif %}
                {% if settings.social_instagram_link != blank %}
                  <li>
                    <a class="icon-fallback-text" href="{{ settings.social_instagram_link }}" title="{{ 'layout.footer.social_platform' | t: name: shop.name, platform: 'Instagram' }}">
                      <span class="icon icon-instagram" aria-hidden="true"></span>
                      <span class="fallback-text">Instagram</span>
                    </a>
                  </li>
                {% endif %}
                {% if settings.social_tumblr_link != blank %}
                  <li>
                    <a class="icon-fallback-text" href="{{ settings.social_tumblr_link }}" title="{{ 'layout.footer.social_platform' | t: name: shop.name, platform: 'Tumblr' }}">
                      <span class="icon icon-tumblr" aria-hidden="true"></span>
                      <span class="fallback-text">Tumblr</span>
                    </a>
                  </li>
                {% endif %}
                {% if settings.social_youtube_link != blank %}
                  <li>
                    <a class="icon-fallback-text" href="{{ settings.social_youtube_link }}" title="{{ 'layout.footer.social_platform' | t: name: shop.name, platform: 'YouTube' }}">
                      <span class="icon icon-youtube" aria-hidden="true"></span>
                      <span class="fallback-text">YouTube</span>
                    </a>
                  </li>
                {% endif %}
                {% if settings.social_vimeo_link != blank %}
                  <li>
                    <a class="icon-fallback-text" href="{{ settings.social_vimeo_link }}" title="{{ 'layout.footer.social_platform' | t: name: shop.name, platform: 'Vimeo' }}">
                      <span class="icon icon-vimeo" aria-hidden="true"></span>
                      <span class="fallback-text">Vimeo</span>
                    </a>
                  </li>
                {% endif %}
                {% if settings.social_fancy_link != blank %}
                  <li>
                    <a class="icon-fallback-text" href="{{ settings.social_fancy_link }}" title="{{ 'layout.footer.social_platform' | t: name: shop.name, platform: 'Fancy' }}">
                      <span class="icon icon-fancy" aria-hidden="true"></span>
                      <span class="fallback-text">Fancy</span>
                    </a>
                  </li>
                {% endif %}
                {% if settings.social_rss_link != blank %}
                  <li>
                    <a class="icon-fallback-text" href="{{ settings.social_rss_link }}" title="{{ 'layout.footer.social_platform' | t: name: shop.name, platform: 'RSS' }}">
                      <span class="icon icon-rss" aria-hidden="true"></span>
                      <span class="fallback-text">RSS</span>
                    </a>
                  </li>
                {% endif %}
              </ul>
          </div>
        {% endif %}
        
        {% if settings.footer_quicklinks_enable %}
          <div class="grid__item {{ footer_column_width }}">
            <h4 style="color: #d95bb7">{{ 'layout.footer.linklist_title' | t }}</h4> {% comment %} 8888888888888888 footer heading text 8888888888888 {% endcomment %}
            <ul class="site-footer__links">
              {% for link in linklists[settings.footer_quicklinks_linklist].links %}
                <li><a href="{{ link.url }}">{{ link.title }}</a></li>
              {% endfor %}
            </ul>
          </div>
        {% endif %}
        
         {% if settings.footer_contact_enable %}
          <div class="grid__item {{ footer_column_width }}">
            <h4 style="color: #d95bb7">{{ 'layout.footer.contact_title' | t }}</h4>
            <div class="rte">{{ settings.footer_contact_text }}</div>
          </div>
        {% endif %}

        {% if settings.footer_newsletter_enable %}
          <div class="grid__item {{ footer_column_width }}">
            <h4 style="color: #d95bb7">{{ 'layout.footer.newsletter_title' | t }}</h4>
            <p>{{ 'layout.footer.newsletter_caption' | t }}</p>
            {% include 'newsletter-form' %}
          </div>
        {% endif %}
      </div>

      <hr>

      <div class="grid">
        <div class="grid__item large--one-half large--text-left medium-down--text-center">
          <p class="site-footer__links">{{ 'layout.footer.copyright' | t }} &copy; {{ 'now' | date: "%Y" }}, {{ shop.name | link_to: '/' }} {{ powered_by_link }}<br>
          ABN:  21189082205</p>
          
        </div>
        {% unless shop.enabled_payment_types == empty %}
          <div class="grid__item large--one-half large--text-right medium-down--text-center">
            <ul class="inline-list payment-icons">
              {% for type in shop.enabled_payment_types %}
                <li>
                  <span class="icon-fallback-text">
                    <span class="icon icon-{{type}}" aria-hidden="true"></span>
                    <span class="fallback-text">{{type | replace: '_',' '}}</span>
                  </span>
                </li>
              {% endfor %}
            </ul>
          </div>
        {% endunless %}
      </div>

    </div>

  </footer>
  </div>

  {% for i in (1..4) %}
    {% capture home_section %}home_section_{{ i }}{% endcapture %}
    {% if settings[home_section] == 'slider' %}
      {% assign slider_home_enable = true %}
    {% endif %}
  {% endfor %}

  {% if slider_home_enable %}
    {{ 'jquery.flexslider.min.js' | asset_url | script_tag }}
    {{ 'slider.js' | asset_url | script_tag }}
  {% endif %}

  {{ 'fastclick.min.js' | asset_url | script_tag }}
  {{ 'timber.js' | asset_url | script_tag }}
  {{ 'theme.js' | asset_url | script_tag }}

  {% if template contains 'article' or template contains 'product' %}
    {% if settings.social_sharing_blog or settings.social_sharing_products %}
      {{ 'social-buttons.js' | asset_url | script_tag }}
    {% endif %}
  {% endif %}

  {% if settings.ajax_cart_method != 'page' %}
    {{ 'handlebars.min.js' | asset_url | script_tag }}
    {% include 'ajax-cart-template' %}
    {{ 'ajaxify.js' | asset_url | script_tag }}
    <script>
    jQuery(function($) {
      ajaxifyShopify.init({
        method: '{{ settings.ajax_cart_method }}',
        wrapperClass: 'wrapper',
        formSelector: '#AddToCartForm',
        addToCartSelector: '#AddToCart',
        cartCountSelector: '.cart-count',
        toggleCartButton: '.cart-toggle',
        btnClass: 'btn',
        moneyFormat: {{ shop.money_format | json }}
      });
    });
    </script>
  {% endif %}

  {% if template contains 'product' and settings.product_image_zoom_enable %}
    {{ 'jquery.zoom.min.js' | asset_url | script_tag }}
  {% endif %}

{% include 'sca-quick-view-template' %} 
  
  {% include 'search-autocomplete' %}
  
  
  {% comment %}{% include 'remove-sold-out' %}  disable-sold-out alternate {% endcomment %}
 
<!-- BEEKETINGSCRIPT CODE START -->{% include 'bk-tracking' %}<!-- BEEKETINGSCRIPT CODE END -->

  <script src="//full-page-zoom.incubate.dev/js/core/main.min.js?timestamp=1616675262&shop=kingdom-3d.myshopify.com" defer></script>
</body>
</html>

Screenshot (332).png

I included everything I knew of that's related just to be thorough

Thank you for your time

Reply 1 (1)

JoesIdeas
Shopify Expert
2195 201 588

The console error I'm seeing is coming from line 162 (if you view source you can read the code to see, looks like something with your Google Analytics.

Screen Shot 2021-07-08 at 9.53.19 AM.jpg

Screen Shot 2021-07-08 at 9.52.58 AM.jpg

 

If you search ".style" you'll find a couple instances:

Screen Shot 2021-07-08 at 9.52.51 AM.jpg

That seems like a minor error (it can't find your paypal checkout button), but sometimes errors can break JavaScript functionality further down the page, so I usually start with fixing console errors first.

My next move would be to read the code and add some extra logging to see exactly how the cart calculator works. With good logging you can usually identify the problem. Once you've identified the problem it's fixable.

Try that. If you get stuck and want to hire a developer to investigate this to try and identify the problem and try to fix it, feel free to contact my team at speedboostr.com/contact. We all work on Shopify every day.

But first try reverting to an older theme or older version of the cart page. Lastly, if you don't duplicate your theme every time before making edits, you should to prevent errors like this turning into time sucking problems. Here's a guide on working with themes safely: https://speedboostr.com/how-to-safely-edit-your-shopify-theme.

Good luck

• Creator of Order Automator (automate tagging, fulfillment, Amazon, notifications + more)
• Shopify developer for 10+ years, store owner for 7 years
• I also make guides like Shopify Automation Tips and How to Deal with Fraud / Chargebacks