horsetags Posted October 6, 2012 Share Posted October 6, 2012 Just did a clean install of the stable release and chose guest checkout with 5 stage checkout. After adding a product loaded with the install, I filled in the guest checkout form on the checkout procedure, pressed 'next' and got redirected back to the home page? The only thing i have not done at the moment is turning Magic quotes off as i am having problems signing in to my WHM. Would this be the cause of this problem? Thanks Paul Link to comment Share on other sites More sharing options...
Pippo3000 Posted October 25, 2012 Share Posted October 25, 2012 bump. just received a message from a potential customer that this or similar happened to him, too... Link to comment Share on other sites More sharing options...
Crash99 Posted December 20, 2012 Share Posted December 20, 2012 Sorry to bump an old thread on my 1st post, but I've got exactly the same problem..... I've got a brand new install of Prestashop V 1.5 and I've just activated the Paypal module. When I reach the 'Shipping' section of the checkout and check the 'Agree to Terms of Service' checkbox the page automatically redirects to the shop home page? It does this in both the 1 page and 5 page guest checkouts, the logged in checkouts work fine (the page doesn't redirect when the 'agree to TOS' checkbox is checked). Just wondering if anyone has found a solution to this prob? Link to comment Share on other sites More sharing options...
Bill Dalton Posted December 21, 2012 Share Posted December 21, 2012 In, prestashop\controllers\front\AuthController.php Around line 577 Change line, Tools::redirect('index.php?controller=my-account'); To this, Tools::redirect('index.php?controller=order&step=1='.(int)Tools::getValue('multi-shipping')); Don't forget to backup the file first. You could also put this modified copy in Prestashop 1.5.x\override\controllers\front That way it will not be overwritten next upgrade. 1 Link to comment Share on other sites More sharing options...
Crash99 Posted December 21, 2012 Share Posted December 21, 2012 Thanks for the update, I'll get that done. Think I might of solved the redirect problem. It was only redirecting on the 2nd, 3rd, 4th etc time going through the checkout. So if you landed on the site, added to cart then completed the checkout there were no problems, if you went to the checkout, entered details then went to look around the site or added another item to the cart the redirect would occur at the shipping stage. Turns out it may have been a file permissions (CHMOD) problem, most of the files were set to 764 (instead of 755). I've set them to 755 and it seems to work fine now. Link to comment Share on other sites More sharing options...
mouse1 Posted September 24, 2013 Share Posted September 24, 2013 (edited) Hi everyone. I'm struggling with redirection during checkout as well. I'm working on a testing version of Prestashop 1.5.4.0. This is about 5-step checkout. A customer adds a product in the cart, then he/she goes to view the cart detail page. After clicking Next from here the customer gets to a register / login / guest checkout page. All these options were in one page and so not very user-friendly. I changed the layout into tabs as you can see in the pics. My problem is with errors. 1) Register - if no e-mail is entered, I get an error message right in the tab (see the pic). This is perfect and this is exactly how I would like to have the other two. 2) Login - if no e-mail or password is entered, I'm redirected to login/register page outside the order process. The same happened before I changed the layout into tabs. 3) Guest checkout - if no data is entered, I'm not redirected, but error messages are duplicated and they mess up the whole page. I would like to specify that the messages always appear in the tab rather than outside the tab. Would anyone please know what to do with these problems? At least that redirection one. It drives me insane. Thanks everyone. Edited September 24, 2013 by mouse1 (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts