What is the proper way of changing what is in a search and category product colleciton? Interceptors? I've kinda tried this but it messes with the pagination of the search result.
For context. I created an extension that has its own table that holds data for year, make, and model. Each row has fields: year, make, model, product_ids (Which holds IDs of compatible products).
In the front end the user can select year make model from drop downs which is stored in their session. When the user does a search I would like to only show products that are compatible.
As a bonus I would also like for the auto complete in the search bar to take these into account as well but that's more of a bonus and not the main issue I am trying to resolve.