Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using ajaxify cart on collections page? #11

Open
jamesleeht opened this issue Aug 30, 2016 · 1 comment
Open

Using ajaxify cart on collections page? #11

jamesleeht opened this issue Aug 30, 2016 · 1 comment

Comments

@jamesleeht
Copy link

jamesleeht commented Aug 30, 2016

I'm trying to get my ajaxify cart plugin from the Timber framework to work. The thing is that the cart works totally fine when adding from the product.liquid pages, but I'm trying to get the ajaxify cart to work in the collection.liquid pages.

I'm using the same form markup for the collection and product pages with the relevant liquid tags changed, but it only works on product anyway.

http://pastebin.com/qe4HHeM5

How do I modify the ajaxify cart code to make it work on the collections page?

@lear2000
Copy link

I also would like some help for the collection page. It seems to completely ignore this function
$.getJSON(_config.shopifyAjaxCartURL, function(cart) {
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants