Jump to content

How to duplicate AdminOrders controller?


neverbug

Recommended Posts

You can for example have a look at controllers/CartController.php how they do overriding (extending) classes.

 

 

class CartControllerCore extends FrontController

 

 

But best is to first have a look at the PS developers docs:

 

http://docs.prestashop.com/display/PS15/Developer+Guide

 

more specifically:

http://docs.prestashop.com/display/PS15/Overriding+default+behaviors

 

Here they describe what to do, where to put your files etc. So before you start messing around, make sure you make an "informed mess" :-)

 

Have fun!

Pascal

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...