misenec Posted December 14, 2021 Share Posted December 14, 2021 Hello. Is there a easy way (like only class extends), to make a new controller, with list from AdminProductsController? What want to do: Like a admin product list, with few filters defined in code. For example, only products with visibility = 'none'. Link to comment Share on other sites More sharing options...
Nickz Posted December 14, 2021 Share Posted December 14, 2021 23 minutes ago, misenec said: Is there a easy way (like only class extends), to make a new controller, with list from AdminProductsController? In which Prestashop Version? I can't image that it'd be easy. How is your abilty? Link to comment Share on other sites More sharing options...
misenec Posted December 14, 2021 Author Share Posted December 14, 2021 current PS 1.7.6 So controllers mades with symfony constructors. I have a lot of experience with old PS (1.5-1.6.) Simply extends like a: class AdminProductsXxxxController extends AdminProductsController { ... } will be successful. But i am still not so good in versions with symfony constructors. 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