Jump to content

Easy way to copy controller PS 1.7.6


Recommended Posts

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...