Jump to content

[SOLVED] OrderCore Class Not Overriding Prestashop


Recommended Posts



I've done it before but I can't override the OrderCore class in my current build using Prestashop for the first time.


I have made a file: /override/classes/order/Order.php


As a test I've included:

class Order extends OrderCore


public function __construct(){

echo "test OrderCore override<br>";





Before I put the __construct() in, I had my usual functions copied from my Prestashop build that worked there. When they didn't work in my update, I removed them and put in the __construct() for testing and it does not trigger the echo.


When I put my custom functions in the OderCore class they work, but I do not want them left there for obvious reasons.


Any ideas?



Edited by IeM (see edit history)
Link to comment
Share on other sites

  • 3 weeks later...

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