Issues with Empty Results and Setting Default Filter Values
-
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
You must be logged in to reply to this topic.