Jump to content

[SOLVED] OrderCore Class Not Overriding Prestashop 1.5.4.1


IeM
 Share

Recommended Posts

Prestashop 1.5.4.1

 

I've done it before but I can't override the OrderCore class in my current build using Prestashop 1.5.4.1 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 1.5.3.1 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?

 

Thanks

Edited by IeM (see edit history)

Share this post


Link to post
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
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More