Filters do not work in search results - by infomrprod

This topic has 14 replies, 3 voices, and was last updated 9 months, 4 weeks ago ago by Rose Tyler

  • Avatar: infomrprod
    infomrprod
    Participant
    January 18, 2024 at 14:57

    I have filters in the shop. When I search for something, it throws up several pages of products with the search term in them. If I select the desired category from the filters, all the products of that category will be displayed on the page. How can I make it so that when I select a category, only the products of the selected category remain in the search results?
    In short, choosing a filter breaks the search. But the filter could narrow the search result.

    When I select the filter attribute in side bar, it shows that there are 3 products, but it doesn’t filter them.

    13 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    January 18, 2024 at 15:56

    Hello, Infomrprod,

    Thank you for reaching out to us with your query regarding the filtering functionality.

    We recommend that you disable all third-party plugins that are not included with XStore (https://www.8theme.com/documentation/xstore/plugins/included-plugins/). After doing so, please clear your browser’s cache and check again. It is possible that one of these additional plugins is causing the issue.

    If the problem persists, we suggest switching to the Parent theme if you are currently using the Child Theme on your site. After clearing the cache, check again. The issue may be due to your custom code in the Child Theme.

    Should the issue continue, please keep all third-party plugins deactivated on your site and allow us permission to debug your site. This includes deactivating all third-party plugins and on-site customization. This will enable us to investigate and assist you more effectively.

    Please ensure that you have a complete backup of your site before proceeding.

    Best Regards,
    8Theme’s Team

    Avatar: infomrprod
    infomrprod
    Participant
    January 19, 2024 at 07:16

    If I deactivate the plugins, my e-shop doesn’t work. Also if I change the child’s theme to the parent’s. Can a customer buy at the same time?
    I’m not sure I can handle it and find a bug. Do you do?

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    January 19, 2024 at 10:01

    Hello, Infomrprod,

    We appreciate your prompt response.

    We would recommend that you create a staging site—a full copy of the live site—and perform all tests there first. This approach ensures that any changes can be safely tested without affecting the live environment, allowing for a smooth and controlled process.

    Should you need any further assistance or have additional questions, please do not hesitate to contact us.

    We would like to bring to your attention that the widgets displayed on the search results page reflect the same product count as those on the Shop page. This is because they source their values from the global products database table. At present, there is no functionality available to modify this behavior.
    Should you wish to alter the display of product counts, you have the option to disable the “Show numbers of products” feature within the widget settings. Alternatively, you may choose to disable the Sidebar for the search results page. This can be done by navigating to Theme Options, selecting Header Builder, and then adjusting the Search settings.

    Kind Regards,
    8theme team

    Avatar: infomrprod
    infomrprod
    Participant
    January 21, 2024 at 20:26

    I made an experiment, deactivated other plugins. The search still didn’t work.
    There were no filters when I changed the theme and the page wouldn’t work.

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    January 22, 2024 at 09:31

    Hello, Infomrprod,

    We appreciate your prompt response.

    We kindly request that you furnish us with temporary wp-admin and FTP credentials for the staging site. This will enable us to conduct a thorough investigation and assist you more effectively.

    Furthermore, we would appreciate it if you could capture and share a video demonstrating your actions on the search results page. This will help us gain a clearer understanding of the problem and your expected outcome.

    Thank you for your cooperation and we look forward to hearing from you soon.

    Kind Regards,
    8theme team

    Please contact administrator
    for this information.
    Avatar: infomrprod
    infomrprod
    Participant
    January 22, 2024 at 10:51

    Send you info.

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    January 22, 2024 at 14:18

    Hello, Infomrprod,

    Thank you for reaching out and providing your credentials.

    We have thoroughly reviewed the functionality and code, and we have discovered that the WooCommerce filters do not operate in conjunction with search results (please accept our apologies for the delay in our response). Our filters were developed following their model, which means they function with all products and yield the appropriate outcomes.

    This behavior is not a bug but rather an inherent characteristic of the widgets. Unfortunately, it cannot be modified quickly. To achieve the behavior you have mentioned, a significant rewrite of widgets code would be necessary. This would entail a considerable investment of our developers’ time, followed by a testing phase. At present, our team is unable to start this task, regrettably.

    Please submit your request through the following page: https://www.8theme.com/taskboard/ to add it to our queue for future enhancements.

    We appreciate your understanding and are committed to continuously improving our services.

    Kind Regards,
    8theme team

    Avatar: infomrprod
    infomrprod
    Participant
    January 22, 2024 at 14:36

    But would the solution be to deactivate the ajax search? Would use an additional plugin?

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    January 22, 2024 at 16:26

    Hello, Infomrprod,

    You may wish to explore the following options, and should you find a solution, we kindly ask that you share it here. It may prove beneficial to other our customers.

    Kind Regards,
    8theme team

    Avatar: infomrprod
    infomrprod
    Participant
    January 23, 2024 at 10:40

    I tried, but without success. Search result filtering does not work at all. The sidebar is completely useless. The search is also useless in this case, if you are looking for one thing, but it displays 70 products and there is no way to reduce the result.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    January 23, 2024 at 10:58

    Hello, Infomrprod,

    Thank you for getting in touch with us.

    Please submit your request on our Taskboard at https://www.8theme.com/taskboard/. This platform allows other customers to view and vote on proposed enhancements, potentially influencing their prioritization and development.

    Our theme has search by the products, product SKU, pages, posts (Theme Options > Header builder > Search). If you want to have any other types of search (by category title, tags etc) or additional conditions /filters you can use an additional plugin or submit additional customization requests https://www.8theme.com/account/#etheme_customization_panel

    Kind Regards,
    8theme team

    Avatar: razr1911
    razr1911
    Participant
    January 23, 2024 at 12:07

    Greetings,
    i understand your question very well i was also looking for the same problem for my solution. But for me there was only single sollution you need to create pages of the different categories and group the attributes for the selected category and link them for that i am using WPC group attributes plugin (It works well with Xstore compatible)
    https://wpclever.net/downloads/wpc-attribute-groups/

    For filters in searches you need to make filters and use queybuilder to work with it. You chave to make every filter and cateory and query them its a hard part and mannual work.

    To make it easy i am using crocoblocks JetSmartFilters and in Jetengine’s Query Builder.

    Here are few informative links you can take a look and get the results you’re looking for.

    https://crocoblock.com/knowledge-base/plugins/jetsmartfilters/

    https://crocoblock.com/knowledge-base/plugins/jetengine/

    I hope i helped you in your endeavour.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    January 24, 2024 at 08:24

    Hello,

    We would like to inform you that our customers may engage in mutual recommendations. Please be advised that we do not assume responsibility for private advice made between customers.

    We hope for your understanding.

    Kind Regards,
    8theme team

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

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

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.