Ajax Filter works for first products displayed then auto scroll doesn’t filter

This topic has 11 replies, 4 voices, and was last updated 3 weeks, 1 days ago ago by Andrew Mitchell

  • Avatar: PopsJ
    PopsJ
    Participant
    February 6, 2025 at 20:05

    When I select a checkbox category filter on the left sidebar of my Shop page the filter is applied to the first products viewed but as I have automatic pagination on scroll enabled, when I scroll down the filter is not applied UNLESS I refresh the page.

    I have this website running on two different servers and two different hosting providers and the same issue occurs on each. So I doubt it is a server-side cache issue.

    Here is the staging website Shop page: https://veritas2.simplyit.site/shop/

    Please, contact administrator
    for this information.
    Files is visible for topic creator and
    support staff only.
    10 Answers
    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    February 7, 2025 at 08:30

    Hello, @PopsJ,

    Thank you for contacting us and for using XStore.

    We have thoroughly reviewed your website and did not identify any issues. We have recorded a video for you. Please watch it for reference. The video link is in the private content area.

    To assist you more effectively, we kindly ask you to provide a detailed description of the specific problem you are facing or the exact outcome you wish to achieve.

    Additionally, to better understand the issue, we would appreciate it if you could record a video demonstrating the steps you are taking and the problem encountered. Please upload the video to any file-sharing service and share the link with us.

    Your cooperation is greatly appreciated, and we look forward to resolving your inquiry as soon as possible.

    Best regards,
    8Theme Team

    Please contact administrator
    for this information.
    Avatar: PopsJ
    PopsJ
    Participant
    February 7, 2025 at 09:12

    That is very interesting because that is not what I see when I do the same thing. I have tried it on several different browsers (Chrome, Duck Duck Go, Brave, Edge) and on different devices.

    What I see is shown in the video I have shared with you.

    Could you review the video and see what I mean? Thanks.

    Please contact administrator
    for this information.
    Avatar: PopsJ
    PopsJ
    Participant
    February 10, 2025 at 07:29

    With reference to my previous message and the video I uploaded in the private content area.

    I have continued to experience this issue across all my products and in all browsers and devices.

    Here is a screenshot of the selection filter for the spirit cachaca (?filter_cat=cachaca).

    There is only one product with this category. Yet after I filter for that one product I see all the wine listed. See the attached screenshot.

    Files is visible for topic creator and
    support staff only.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    February 10, 2025 at 10:44

    Hello, @PopsJ,

    Could you please provide temporary FTP access? We will check what can be done to help you.

    For FTP access, we require the following details: FTP host, FTP username, FTP password, FTP port, and FTP encryption type. If you need assistance in creating these credentials, please reach out to your hosting provider who will guide you through the process.

    Best regards,
    8Theme Team

    Avatar: PopsJ
    PopsJ
    Participant
    February 10, 2025 at 18:40

    Hi,

    Thanks for your response. All the FTP credentials are in the private area for you.

    Many thanks

    Please contact administrator
    for this information.
    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    February 12, 2025 at 21:29

    Hello, PopsJ,

    Thank you for your credentials,
    We have made some changes,
    Please check and don’t forget to clear your browser cache.

    Best regards,
    8Theme Team

    Avatar: PopsJ
    PopsJ
    Participant
    February 15, 2025 at 01:18

    Thank you for making changes.

    It seems that the infinite scrolling with a filter category selected is now working.

    However, (please see my first image I uploaded) when infinite scrolling is not needed and I select the category of ‘Aperitif’ which has less than a page of products – there is actually only ONE aperitif product, the shop automatically displays wines in addition to the one aperitif product. Are you able to fix the shop to just display the one category selected without adding other categories?

    Thank you

    So, based on this

    Files is visible for topic creator and
    support staff only.
    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    February 15, 2025 at 15:19

    Hello, PopsJ,

    We have made changes to the following file:
    /wp-content/themes/xstore/js/ajax-filters.min.js

    Could you please check if this resolves the issue? These changes will also be included in the next theme update.

    Best regards,
    8Theme Team

    Avatar: PopsJ
    PopsJ
    Participant
    February 16, 2025 at 01:19

    I’ve just checked and both the infinite scrolling and single page displays using the filter now work as expected on the shop page. Thank you for all your work on this and for including the fixes in the next release of XStore. You guys are the best. Quick, efficient and always helpful. Thank you again!

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    February 17, 2025 at 11:19

    You’re most welcome! Wishing you a wonderful day ahead.

    We hope our theme is elevating your experience. If you could take a moment to leave us a glowing 5-star review on ThemeForest, it would mean the world to us. Your feedback is incredibly important and helps us continue to improve.

    You can rate us here: https://themeforest.net/downloads

    Should you have any other questions or require assistance, please don’t hesitate to contact us. Our dedicated support team is always here to help.

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

You must be logged in to reply to this topic.Log in/Sign up

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