grsinternet Posted May 26, 2020 Share Posted May 26, 2020 (edited) Currently we have 13 million products on our PS 1.7.6.4. Product contains only ReferenceID and price. Shop works fine, but the problem is when buyer has 3+ products in the cart. Then the last step of the checkout takes 5+ minutes. Often we get an error. This error is about "stock management". As we understand Prestashop tries to find products again to check Stocks and here it fails. But the "Stock Management" is Off everywhere in the Back-Office. How to cut this checking function in PS core? Maybe there are other ways to fix that? I'm attaching the screenshot of the error, when there are more then 3 products Edited June 4, 2020 by grsinternet (see edit history) Link to comment Share on other sites More sharing options...
grsinternet Posted May 26, 2020 Author Share Posted May 26, 2020 (edited) 19 hours ago, ndiaga said: Hi, This is not a PrestaShop core issue but a module issue . The bug is comming from modules/ps_wirepayment/controllers/front/validation.php Thank you for your contribution! Not sure or issue was were you have noticed, but I have shared your answer with a team and they have fixed. Later I'm going to share more details. Thank you! Update from Dev: There was a problem with checking quantities. In one place there was a condition with stock management but below the quantity was still checked and not taking of stock management status. Edited May 27, 2020 by grsinternet (see edit history) 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