• Hello!

    We are facing an issue where, when a user is logged in and scrolls on the shop page with infinity scroll activated, if they choose to open a product and then return to the shop, they are not returned to the same scroll position they were at when they opened the product page. Instead, they are scrolled back to the top of the page.

    It happens either on desktop or mobile device. But it mostly works fine if user is not logged in, in certain moments it doesn’t work as expected on logged out users aswell.

    Troubleshooting steps we’ve taken:

    • Disabled every plugin except YITH Infinity Scroll and WooCommerce.
    • Switched to a default theme (Storefront or Twenty Twenty).
    • Tested while logged in and logged out.

    Do you have any suggestions on what we can do to resolve this issue?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Vanesa

    (@vanesarodriguez)

    Hello there!

    Unfortunately, this is the normal behaviour, as the last position is not saved.

    When you hit the back button the browser keeps the last URL, and the change of the URL in scrolling is an option only available in the paid version of the plugin.

    I hope this information was helpful, we remain at your disposal for any other doubts or issues.

    Have a nice day!

    Hello @vanesarodriguez !

    Are you saying that the position would be preserved with the premium version?

    Thanks

    Plugin Support Facundo Arano

    (@aranofacundo)

    Hi there,

    About the feature that my colleague mentioned, it will let you change the current URL of the browser to the URL of the section being displayed (for example page/2) so that the browser goes back to that page instead of the first page.

    Like she mentioned, the scrolling behavior when return to the page is normal since it’s handled by the browser, not our plugin.

    We’ll remain at your disposal.

    Thread Starter rokaklih

    (@rokaklih)

    Hello @aranofacundo,

    Thank you for your detailed response and for clarifying how the current scrolling behavior works.

    Like she mentioned, the scrolling behavior when return to the page is normal since it’s handled by the browser, not our plugin.

    I appreciate your explanation and would like to share a couple of ideas that might help improve the user experience:

    1. Preserving Scroll Position: The plugin could potentially store the user’s previous scroll position and page URL in their session. However, I understand this might have performance implications, as maintaining session data for each user could be resource-intensive.
    2. Dynamic Product Loading: An alternative approach could involve loading products dynamically as the user scrolls upward. For example, if a user is on page 3, navigates to a product, and then returns to the shop, they would remain on page 3. However, they currently cannot navigate back to page 2 or 1 unless they explicitly reload the shop page. A feature that allows the plugin to dynamically load products from the previous pages when scrolling upward could resolve this limitation.

    Would such a feature be feasible to implement within your plugin? If not, please let us know if this is something we would need to develop ourselves.

    Thank you for considering these suggestions. Looking forward to your thoughts on this!

    Best regards,

    Rok!

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.