Magento2-InfiniteScroll
Magento2-InfiniteScroll copied to clipboard
Configurable Product Swatches not showing in confugrable product
In configurable product listing page swatches of configurable products are not showing.

Thanks for reporting. Could you please give us some details on your environment?
- Magento Version
- List of 3rd-party extensions that could be affecting the Catalog Listing page
- Name of theme you're using
- Anything else you think might be relevant
FYI if you're using a 3rd-party extension or theme, there's a chance you'll need to manually integrate some of the functionality by hooking in to one of the Infinite Ajax Scroll events to trigger some of the Magento front-end functionality on elements after they're dynamically inserted into the DOM.
You might want to check this out regarding that last comment: https://github.com/Strategery-Inc/Magento-InfiniteScroll/wiki/3rd-party-Extension-Conflicts
@manishgoswamij could you update to the latest version of the plugin? it introduces a feature that might fix your issue (see #46)
@gsomoza
I am also getting this error. Actually, this module working perfectly in magento version 2.2.6. But in version 2.3.1, I am getting the same error. In version 2.3.1 Swatch option are not loading on scrolling. Please help.
Thanks
We merged some recent improvements to the way this plugin loads and executes code that should make it more robust, could you confirm if these issues persist on the latest versions of this module?
To be more clear, we'd like to know which versions of the module you're using when this error happens, and would also like to know if the latest versions still have the same issues.
@gsomoza , swatches not showing when enable this option: STORES > Configuration > ADVANCED > Developer > JavaScript Settings > Move JS code to the bottom of the page: Yes
Thanks for reporting @minhluan259, could you please provide details about your setup? See my message above from February 2020. It would help us point you in the right direction.
Also, just to be up-front about this: improvements to this module are for the most part relying on pull-request submissions, so if you're able to fix this issue please consider contributing the code back and we'll happily merge it.