My Shopify store uses Ajax call's to add products to the cart and jQuery to update the front-end. I recently installed infinite-ajax-scroll but this brought some issues.
The store gets "ajaxified" by this call on the homepage:
jQuery(function($) {
ajaxifyShopify.init({
method: '{{ settings.ajax_cart_method }}',
wrapperClass: 'wrapper',
formSelector: '#addToCartForm',
addToCartSelector: '#addToCart',
cartCountSelector: '#cartCount',
toggleCartButton: '.cart-toggle',
useCartTemplate: true,
btnClass: 'btn',
moneyFormat: {{ shop.money_format | json }},
disableAjaxCart: false,
enableQtySelectors: true
});
The full code is located here: http://cdn.shopify.com/s/files/1/0656/8697/t/7/assets/ajaxify.js?9594
I'm wondering what it does exactly and who it belongs to.
I want to know so I can unbind the initialised code from the page to solve this problem.