em72 Posted July 24, 2010 Share Posted July 24, 2010 Bonjour,J'aimerais savoir si il serait possible d'inverser l'étape paiement et l'étape transport dans le processus de commande. Link to comment Share on other sites More sharing options...
e-motostore Posted July 24, 2010 Share Posted July 24, 2010 Salut, Tu peux jeter un coup d'oeil dans ce fichier order.php voir le bout de code /* 4 steps to the order */ switch (intval($step)) { case 1: displayAddress(); break; case 2: if(Tools::isSubmit('processAddress')) processAddress(); autoStep(2); displayCarrier(); break; case 3: if(Tools::isSubmit('processCarrier')) processCarrier(); autoStep(3); checkFreeOrder(); displayPayment(); break; default: $smarty->assign('errors', $errors); displaySummary(); break; } Commence par inverser les steps que tu veux changer et voir si tout fonctionne parfaitement 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