I created a site with Drupal Commerce and I use search api (fulltext) and facets to search for products.
The search works very well and also facets, but I would like to know if there is a way to have some filters already applied via facets when a user searches for a product.
I give an example. I have a text field that indicates if the product is "available immediately", "available in a week" or "not available for order at the moment".
I created a "facet" that allows filtering of the three values, but I would like to know if there is a way to ensure that for example "available now", "available in a week" are already flagged in the facet block when the user search for a product.
Then the user can also select "not available for order at the moment" if he wishes.
The search page is created through views and uses the search api fulltext search as a filter. I use "query string" as processor for facets, but I also tried "core facets views" without success. Maybe I didn't understand with "core facets views" how to do it.
At the moment each filter via facets is added to the url with the following query:
?search_api_fulltext=product&f[0]=available&f[1]=year&...
Thanks!