Skip to content
This repository has been archived by the owner on Aug 30, 2018. It is now read-only.

Disable ajax request caching to enable ajaxCart in IE (#599) #607

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions layout/theme.liquid
Expand Up @@ -416,6 +416,8 @@
{% include 'ajax-cart-template' %}
{{ 'ajax-cart.js' | asset_url | script_tag }}
<script>
$.ajaxSetup({ cache: false });

jQuery(function($) {
ajaxCart.init({
formSelector: '#AddToCartForm',
Expand Down