Ali Samie Posted July 18, 2022 Share Posted July 18, 2022 Hi. I was trying to override a class of a listing controller from this path `controllers/front/listing/CategoryController.php`. If you have issues check this post. I want to know if there is a way to filter the search query before actually searching the database. Like a where clause. I need to drop some products from the list before searching like when you write in a SQL this code: ` WHERE id_product NOT IN (1,2,3,4) `. Link to comment Share on other sites More sharing options...
Ali Samie Posted July 24, 2022 Author Share Posted July 24, 2022 Has any one got any other ideas? 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