Marexion Posted June 17, 2011 Share Posted June 17, 2011 Hi,I want to remove and add some order steps to the order-steps tpl. but i'm having trouble figuring out where to edit. i edited in order-steps.tpl and orderController.php but it won't work properly with the "step_to_do" "step_done" , etc stuff. it doesn't show the right icon (you know the line with the circle in it)do i need to add the name of the step in some file or something?Thanks in advance Link to comment Share on other sites More sharing options...
olyfili Posted December 6, 2011 Share Posted December 6, 2011 Hello, I have the same problem, too. How did you figure this out? Thank you in advance. Link to comment Share on other sites More sharing options...
SugarCoat Posted January 10, 2012 Share Posted January 10, 2012 Hello, I'm trying to do the same thing too, how did you do you it ? Thanks Link to comment Share on other sites More sharing options...
wayoutwest Posted January 10, 2012 Share Posted January 10, 2012 really guys, is there any way to add a new step? It's very important for me too. Link to comment Share on other sites More sharing options...
SugarCoat Posted January 11, 2012 Share Posted January 11, 2012 It is possible of course, I'm still working on it though, I'll write here how I did it once I find the solution It's frustrating to find sloved topics without proper answers Link to comment Share on other sites More sharing options...
SugarCoat Posted January 13, 2012 Share Posted January 13, 2012 I changed my mind and squeezed everything in the shipping step :/ I didn't try it, but I believe that you need to add the new step's title in order-steps.tpl, where you test the value of the variable $current_step to hightlight the right step title, add a new switch case for $step in order.php that's where the call to your template (the new step) will be done It's a bit complicated when the new step is after payment because it's done by the modules, I only looked at cashondelivery, where payment is followed by order-confirmation.php, so I guess that line should be replaced by another redirection, I'm not sure really, I chose to squeeze everything in an existing step instead It would be better if prestashop's development team tries to allow customization on these steps, that's just a thought 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now