Shipping-calculator on cart page stopped working

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' %}
 

{% 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 %}

  

{% else %}
  {% comment %}
    The cart is empty
  {% endcomment %}
  ## {{ 'cart.general.title' | t }}
  

{{ 'cart.general.empty' | t }}

  [Continue Shopping](https://www.kingdom3d.com.au/collections/1-75mm-filament)
  {% comment %} 

{{ 'cart.general.continue_browsing_html' | t }}

 {% endcomment %}

{% endif %}

{% comment %}

 {% endcomment %}

shipping-calculator.liquid:

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

    
  ### Shipping Estimate {% comment%}{{ settings.shipping_calculator_heading | default: 'Get shipping estimates' }}{% endcomment %}

  
    

      
      
    

    

      
      
    

 
    

      
      
    

  

  
    

      
    

  

  

  *Delivery time estimates are for capital cities. Smaller cities, towns and rural areas will generally take 1-2 days longer than estimate.

  

 

{{ '//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 }}

{% 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

settings_schema.json:

```markup
[
  {
    "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:


  

  
  
  
  
  {% if settings.favicon_enable %}
  
  {% endif %}

  
  

  {% if page_description %}
  
  {% endif %}
  

  

  
  {% include 'social-meta-tags' %}

  
  
  
  

  {% if settings.ajax_cart_method != 'page' %}
  
  {{ 'ajaxify.scss.css' | asset_url | stylesheet_tag }}
  {% endif %}

  
  {{ 'timber.scss.css' | asset_url | stylesheet_tag }}
  {{ 'theme.scss.css' | asset_url | stylesheet_tag }}

  {% include 'google-fonts' %}

  
     {{ 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 }}
  
  

  

{% 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 %} 
  {% assign instafeed_template = '' %}
     {% endcomment %}
 
 
	{% comment %} {% include 'globo-stores-script' %} {% endcomment %}

{% comment %}

{% endcomment %}

  
  

   
    

{% comment %} alerti alertt alertd 
    

  ×  
  **Up to 40% OFF EOFY SALE** - Ends 30 June!
    
 {% endcomment %}

    
  {% include 'header-bar' %}

  

  
      

  
  
  

  

  
  

  {% 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 }}
    
  {% 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 %}
 
{% include 'bk-tracking' %}

  

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

Thank you for your time

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.

If you search “.style” you’ll find a couple instances:

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