Problem when using Infinite Scroll for products
-
Thanks for the neat plugin. Cheers for that.
However, there’re an issue when using the Infinite Scroll for products.The default ‘Grid’ shows fine for the first (page) set of products when using Infinite Scroll plugin & also attaches fine the
Grid
class to theproducts ul
element as desired.But, when we scroll down to load another (page) set of products, the
grid
class is missing from theproducts ul
element. This results in showing the<hr>
& thedescriptions
in Woocommerce’s default grid view . . . the entire Grid view is uneven with some having descriptions & some not.Ideally, when scrolled down using Infinite Scroll – it should attach the
Grid
class for all loaded productul
elements1) What can we do to improve this?
2) Under ‘Infinite Scroll’ plugin, there is an option calledcallback
& which says ‘Code that is called after each new page is loaded’ . . . maybe, we can add something here to make it work?Thanks in advance.
https://www.ads-software.com/plugins/woocommerce-grid-list-toggle/
- The topic ‘Problem when using Infinite Scroll for products’ is closed to new replies.