poma Posted October 8, 2016 Share Posted October 8, 2016 (edited) Hi, After looking on Google, on this forum and desactivated all Prestashop and non prestashop modules one by one I still can not find anissue to my big problem. When I make anorder the waiting time between the moment when the user click on "I confirm my order" (page : order recap) and the redirection to the page "order confirmation" is very VERY long I made an upgrade to PS 1.6 it was working but there were a lot more other bugs so I stayed with 1.5.4.1 Usefull information : Site : http://www.stim-form.com/ Edited October 8, 2016 by poma (see edit history) Link to comment Share on other sites More sharing options...
poma Posted October 9, 2016 Author Share Posted October 9, 2016 SOLVED : The shop has no stock management, and it was desactivated in the back office. I tested multiple files with var-dump and found that in file: ./classes/order/OrderDetail.php commenting this line //$this->checkProductStock($product, $id_order_state); solved my problem and order confirmation are 'fast' 1 Link to comment Share on other sites More sharing options...
Gipielle Posted January 13, 2017 Share Posted January 13, 2017 Great Job !! Thanks ! One question, we have the stock management active, what problems might give the removal of this line? 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