Jump to content

how can edit the order.php?


Recommended Posts

When I open order.php in Dreamweaver, I only can see:

 

* @copyright 2007-2011 PrestaShop SA * @version Release: $Revision: 6594 $ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) * International Registered Trademark & Property of PrestaShop SA */ require(dirname(__FILE__).'/config/config.inc.php'); ControllerFactory::getController('OrderController')->run();

 

I need to change

 

/* 4 steps to the order */

switch (intval($step))

{

 

case 1:

 

but I can find it in the archive.

Please help me.

Thanks!

Link to comment
Share on other sites

?? What do you try to do?

Order.php should have much more in it than what you suggest above. check your file again in /classes/order.php. (Maybe open in any normal editor to see if there's anything different than what dreamweaver shows.

 

What exactly do you want to change? The $step doesn't seem to be in order.php, (in P.S. 1.4.6.x at least) so your question confuses me. (Where did you get this small code snippet (the piece of code with switch...) from?)

Do you want to change the check-out 4 steps or so??

 

Please elaborate.

Pascal

Link to comment
Share on other sites

I read at the forum that I have to modify the order.php to skip the adresses, carrier and payment steps of the checkout in PS 1.4.8 .

But when I open the archive en dreamweaver I dont find the part of the code that I must modify.

Link to comment
Share on other sites

×
×
  • Create New...