Minkiu Posted July 24, 2013 Share Posted July 24, 2013 (edited) Hello, newbie here, I'll go directly to the point: OK, I got this one working (by simply doing what I've said below), but now the problem is when i want to login through the checout, any thoughs? On user login, I want it to redirect to the check-out page. In order to do this I followed what I found in the forums, and it was to edit the AuthController.php (root/prestashop/controllers/front) . Edited it to change my-account to order-opc it worked once, then i keep getting: index.php?controller=authentication&back=my-account So I'm editing the correct file? or I'm missing something? SOLUTION: It had to do with the them I was using, which where using ajax. Second, quite related is: On add to cart (in product.tpl), I want it to redirect to the check-out page. I also researched, and found the simple answer of: BackOffice > Preference > Products > Redirect after adding product to cart -> Cart Summary. But this ain't working, is there something like in the first case, where I can make it go to the checkout page? What it drives me mad, is that I've already disabled ajax "add to cart" in product-list.tpl , but for some reason I can't in product.tpl, and so it keeps using the ajax, since it an input, and not a button and I believe this is the source of my problem (?). Thanks in advance, Cheers. Edited July 25, 2013 by Minkiu (see edit history) Link to comment Share on other sites More sharing options...
chirag_0110 Posted July 27, 2016 Share Posted July 27, 2016 (edited) Hi MInkiu Did you found solutiont ? if not Can you please describe what you exactly want ? Thanks, Chirag Edited July 27, 2016 by chirag_0110 (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts