zunxunz Posted March 26 Share Posted March 26 I need to adapt the query that fetches products for the category page (add a join to a custom table, and some where clauses). I've tried to find a hook that would allow me to change the query. I did find hookActionProductSearchProviderRunQueryBefore but the $params['query'] in this hook seems to just give the query parameters as set by the faceted search module, and the actual query can't be changed there, nor can I change $params['query'] to add a join and where clauses. How would I accomplish this? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now