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

Resetting infinite scroll after ajax call #7

Closed
ktsixit opened this issue Feb 17, 2022 · 2 comments
Closed

Resetting infinite scroll after ajax call #7

ktsixit opened this issue Feb 17, 2022 · 2 comments

Comments

@ktsixit
Copy link

ktsixit commented Feb 17, 2022

This is a question, not really an issue.
I'd like to ask how can I reset infinite scroll after updating product list via ajax.
Loaded product use paging instead of infinite scroll, so I guess that a simple function call to extension javascipt would solve that.
Thank you in advance.

@ga3003
Copy link

ga3003 commented Nov 16, 2022

I have the same question. I am using Ajax for layered navigation and found it's not working after applying filters on products.

@magiccart
Copy link
Contributor

@ktsixit @ga3003 can call code below

$('body').trigger('collectionUpdated');

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

3 participants