Jump to content

How to override CheckoutDeliveryStep.php?


justasking

Recommended Posts

Hi, I'm trying to override ./classes/checkout/CheckoutDeliveryStep.php, I've placed my new edited file in ./override/classes/checkout/CheckoutDeliveryStep.php but it doesn't work. I have disabled cache and removed all files from ./cache folder but it still won't work, placing the file in ./override or ./override/classes/ gives no result also. Please help, it's very important for me to get any feedback asap.  :(

Link to comment
Share on other sites

it still won't work is not quite exact description. Do you get an error message or does the override have no effect.

If the latter is the case, try do add some debug messages to logfile in order so see if your code is triggered at all.

Link to comment
Share on other sites

Check the file class_index.php in ./cache path. Find out if your override is listed there.

As an example for another override, you shoud see something like this

 'path' => 'override/controllers/front/OrderDetailController.php',

Of course with your own modules override name and path.

Link to comment
Share on other sites

Have you checked your servers error logfile? Maybe it gives a hint on some kind of errors?

Otherwise I don't have any more options for you. You haven't mentionned it but I guess you are running a 1.7 version of ps.

I am more familiar with the ones up to V 1.6.xx.

Link to comment
Share on other sites

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