• Resolved cobrains

    (@cobrains)


    Hi!
    I am writing to you because I am currently using Filter Everything on my WordPress site running the Salient theme with AJAX functionality enabled. I am encountering two specific issues that I cannot resolve.

    Regarding the first issue, when a user selects a combination of filters that yields no results, the page fails to update correctly. Instead of showing a “No results found” message, the interface continues to display the products from the previous selection. It appears that the AJAX is not clearing the Salient results container or triggering the empty state template when the query returns zero products. This creates significant confusion for my customers.

    Secondly, I am trying to figure out how to set a pre-selected value for a specific filter. Specifically, I would like the “In Stock” filter to be active by default when a user first lands on the shop page, effectively hiding out-of-stock items unless the user chooses to change the filter manually. I have explored the settings but couldn’t find a dedicated option to define a “default active” value within my filter set for this theme setup.

    Could you please provide some guidance on how to ensure the results container updates properly for empty states in Salient and how to correctly implement a pre-selected filter?

    Thank you

Viewing 1 replies (of 1 total)
  • Plugin Support fesupportteam

    (@fesupportteam)

    Hi @cobrains

    1) The message shown when there are no posts is provided by the theme template itself, or by the template displaying those posts; this is not handled by the plugin. You might want to check the posts template and see what it displays when there are no posts.

      It appears that the AJAX is not clearing the Salient results container or triggering the empty state template when the query returns zero products

      If it is handled by some separate JS code, please check this page: https://filtereverything.pro/resources/ajax-instructions-only/#ajax_related_problems

      2) The only way to predefine the filter is to choose the filter on the required page and then use that URL. This way, when users click on the shop page, the link will include the selected in-stock filters.

      Best Regards,
      Victor

    Viewing 1 replies (of 1 total)

    You must be logged in to reply to this topic.