shipping-calculator icon indicating copy to clipboard operation
shipping-calculator copied to clipboard

Does Not Work When Linked Against jQuery >=1.8.3

Open jordanyee opened this issue 12 years ago • 2 comments

The calculator does not display anything after clicking 'Calculate shipping'.

The console reports: TypeError: 'undefined' is not a function (evaluating 'template.tmpl(response)')

Steps to reproduce:

  1. Link against jQuery >= 1.8.3
  2. Visit page with shipping calculator.
  3. Enter Province, Country, and Zip/Postal Code.
  4. Click 'Calculate shipping'.

jordanyee avatar Mar 06 '13 00:03 jordanyee

Actually, I have no idea what caused that console error. It did work after I linked it against jQuery 1.7.2, but then it randomly stopped and started generating the same error again.

Seems like I'm experiencing the same strange bug as in this forum post: http://ecommerce.shopify.com/c/ecommerce-design/t/resolved-shipping-calculator-115709

jordanyee avatar Mar 06 '13 03:03 jordanyee

Was getting the same error as @jordanyee. Tried your solution, it works! thanks

{{ 'http://code.jquery.com/jquery-1.7.2.min.js' | script_tag }}

maherelaridi avatar Jun 21 '14 06:06 maherelaridi