Home Forums WoodMart support forum infinite scrolling is bugged

infinite scrolling is bugged

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #392286

    cesaicumpar
    Participant

    products are showing more than once if I scroll continuously

    this is from the first 16 products on the page (without scrolling) – https://postimg.cc/Ff2N2M66

    this is from the next 16 products, after I scrolled enough (so it should be 32 products) – https://postimg.cc/hhnfvmC5

    as you can see, the red wallet is repeating, even though is only posted once on the website.

    roducts continue to be shown even more than 2 times each if I continue to scroll, and happens to a lot of products of them, not only the red wallet

    I will leave the admin login access in the private content in case you want to take a closer look

    #392352

    Luke Nielsen
    Keymaster

    Hello,

    Please deactivate all the plugins except these ones:

    Slider Revolution
    WPBakery Page Builder or Elementor
    Woodmart Core
    Contact Form 7
    MailChimp for WordPress
    WooCommerce
    Safe SVG
    Switch to the parent theme and check.

    If the problem has gone, activate the plugins one by one, checking the issue to detect which one causes the problem.

    Best Regards

    #392657

    cesaicumpar
    Participant

    switching only to the parent theme seems to solve the problem

    but how do I troubleshoot now?

    #392665

    Luke Nielsen
    Keymaster

    Hello,

    Most likely, the issue comes from the third-party code that is in your functions.php file of the child theme. So I suggest you deactivate custom code just to check if this causes the problem or not.

    I await your response.

    Kind Regards

    #392869

    Luke Nielsen
    Keymaster

    Hello,

    Seems that your code works well because I don’t see this issue.

    https://monosnap.com/file/8ul0E6Q5PHF5ImPn6zptB9eRPGrGlF

    Let me know if you have any questions.

    Kind Regards

    #392880

    cesaicumpar
    Participant

    I removed the code last night. Problem is solved, but the products are now always shown in the same order, anytime a visitor enters the page. Looking for a solution to this now 🙂

    #393312

    Luke Nielsen
    Keymaster

    Hello,

    The thing is that if you activate the “random” sort for products, then the “infinite scrolling” and the “load more” button won’t work properly and the products will duplicate.

    Kind Regards

Viewing 7 posts - 1 through 7 (of 7 total)