Bug: XStore Archive Products widget : pagination state lost on page reload

1 reply2 participantsUpdated by Andrew Mitchell

XStore documentationDesigning shop and category pages with the Products Archive builder
  • Avatar: Chris0483
    Chris0483
    Participant

    Hello XStore Support Team,

    I’m running into an issue with the XStore Archive Products Elementor widget on my e-commerce site (XStore 9.7.3, child theme active, WooCommerce 10.7.0, WordPress 6.9.4, Elementor Pro 4.0.4, PHP 8.2.31).

    **Steps to reproduce:**
    1. Open the shop page at see link in private
    2. The first 12 products load correctly (page 1)
    3. Click the “Load More” button (or trigger infinite scroll)
    4. Products 13–24 are appended, and the URL is updated to /boutique/page/2/ via history.pushState
    5. Press F5 to reload the page

    **Expected behavior:**
    The page reloads showing either products 1–12 (page 1 state restored) OR all loaded products 1–24 (full state preserved).

    **Actual behavior:**
    The page reloads showing only products 13–24. Products 1–12 are gone and cannot be accessed without navigating back to /boutique/ manually. This breaks the user experience because customers lose track of the products they were browsing, and search engines may index incomplete archive pages.

    The same behavior occurs with both “More button” and “Infinite scroll” pagination types.

    **Configuration:**
    – Widget: XStore Archive Products (etheme_archive_products)
    – Pagination type: More button / Infinite scroll (both tested)
    – WP Rocket 3.19.0.1 is installed, but the issue persists with cache disabled
    – Permalinks are set to “Post name”

    **Question:**
    Is there an option to disable the URL update (history.pushState) when loading additional products, so that reloads return to page 1? Or is there a known fix to preserve the full loaded state across reloads?

    If this is a known limitation, switching to the default numbered pagination would solve the issue, but I’d prefer to keep the Load More UX if possible.

    Thank you for your help.

    Best regards,
    Christophe Negrel

    Please, contact administrator
    for this information.

    1 Answer

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff

    Hello, Chris0483,

    This behavior is typical for our theme, and unfortunately, there is no way to change it through the theme options

    Best regards,
    8Theme Team

Want to reply? Log in, or register with your ThemeForest purchase code, to reply to this topic.

Login / Register