Load more products button shows twice on shop page

This topic has 4 replies, 2 voices, and was last updated 1 years, 1 months ago ago by ecommercedev

  • Avatar: ecommercedev
    ecommercedev
    Participant
    October 1, 2023 at 23:00

    Hi,
    I am using ‘inifinite scroll’ Pagination type for Woocommerce- > Shop->Shop Page Layout->Pagination Type option.

    There is 1’Load more products’ button and ‘No more products avaiailable…’ text that appear at the end of the page on mobile devices.

    To reproduce scroll to the very bottom of the page:
    https://ibb.co/428ZPmy

    No cache on that website. Wonder what has gone wrong here and how to fix it?

    Please, contact administrator
    for this information.
    3 Answers
    Avatar: ecommercedev
    ecommercedev
    Participant
    October 1, 2023 at 23:35

    I deactivated the WooCommerce Infinite Scroll and Ajax Pagination plugin (that is part of XStore theme) and set pagination type to ‘Load more button’ and now it at least behaves ok.

    However I wonder isn’t ‘load more button’ functionality part of WooCommerce Infinite Scroll and Ajax Pagination plugin? It should work ok with the plugin disabled?

    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    October 2, 2023 at 07:16

    Hello, @ecommercedev,

    We are pleased to hear that your issue has been resolved and you have managed to identify the cause of the problem.

    It appears that you were using a plugin for Ajax pagination and infinite scroll, while simultaneously utilizing the prebuilt functionality of the theme to load products. This resulted in a conflict between the two Ajax options.

    To avoid such conflicts in the future, we recommend using only one functionality at a time. You can either use the plugin or the default functionality of the theme, but not both simultaneously. We trust this explanation clarifies the situation.

    Thank you for your understanding.

    Best Regards,
    8Theme’s Team

    Avatar: ecommercedev
    ecommercedev
    Participant
    October 3, 2023 at 03:14

    OK, I thought the plugin is needed for the infinite scroll to work. Didn’t get that part that theme supports it out of the box.

    Either way, your message clarifies it. Thanks for your input!

  • Viewing 4 results - 1 through 4 (of 4 total)

The issue related to '‘Load more products button shows twice on shop page’' has been successfully resolved, and the topic is now closed for further responses

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.