djaenicke Posted August 21, 2013 Share Posted August 21, 2013 Hi, When I try to update the stock quantity it says update successful but reverts back to the setting in the quantity box. I have the option on all my products set to 'manually update stock quantities' but whenever I try to it says update successful and does not update them instead just reverting back to the number in the box before I tried to update the stock. I know I can update stock from phpmyadmin in the database but I would prefer not to. Any way around this? It also updates the stock in FO but BO still has the incorrect number. My website is www.joovuu.com Any help greatly appreciated. Cheers, Dan Link to comment Share on other sites More sharing options...
mfedorets Posted August 22, 2013 Share Posted August 22, 2013 Do you use advanced stock management in parallel with manual quantity updating mode? Check the number of the products in the "quantity" row of "ps_stock_available" table - has it been updated correctly per product ID? Link to comment Share on other sites More sharing options...
djaenicke Posted August 22, 2013 Author Share Posted August 22, 2013 Nope, it does not update unfortunately unless i edited the value myself in phpmyadmin then it works fine. Link to comment Share on other sites More sharing options...
djaenicke Posted August 22, 2013 Author Share Posted August 22, 2013 What file does this function of updating stock? Maybe I can re-upload it. It's incredibly annoying having to change stock quantity in phpmyadmin. Link to comment Share on other sites More sharing options...
vekia Posted August 23, 2013 Share Posted August 23, 2013 try to reupload classes/stock/ directory Link to comment Share on other sites More sharing options...
mfedorets Posted August 24, 2013 Share Posted August 24, 2013 What file does this function of updating stock? Maybe I can re-upload it. It's incredibly annoying having to change stock quantity in phpmyadmin. Please let me know what are the settings of stock management in Preferences > Products > Products stock, or you can simply make screenshots of these pages. Stock behavior is complicated and depends on combinations of these settings. Enable stock management (Yes/No?) Enable advanced-stock management (Yes/No?) And quantity preferences on the Backend Product page > Quantity tab (what fields are switched on and what are off): I want to use the advanced stock management system for this product. Available quantities for current product and its combinations are based on warehouse stock I want to specify available quantities manually. Link to comment Share on other sites More sharing options...
armi0024 Posted September 2, 2013 Share Posted September 2, 2013 I had this same problem (I believe) where I would change the number, save and stay, and then poof, it would revert back. I clicked on the " I want to specify available quantities manually" button, even though it was already highlighted and now it works. 5 Link to comment Share on other sites More sharing options...
benjamin utterback Posted September 3, 2013 Share Posted September 3, 2013 Please check what are the settings of stock management in Preferences > Products > Products stock: Enable stock management (Yes/No?) Enable advanced-stock management (Yes/No?) Hi mfedorets, armi0024 I believe was just stating a solution that worked for him/her. I do not believe he/she was asking any question for help 1 Link to comment Share on other sites More sharing options...
armi0024 Posted September 4, 2013 Share Posted September 4, 2013 Benjamin is correct, that was the solution that worked for me. Link to comment Share on other sites More sharing options...
smaurice2001 Posted October 21, 2014 Share Posted October 21, 2014 I have axactly same problem. for 3 days try everyting, I was gone call Arvixe to reboot Prestashop, but I try armi0024 trick and it work. thanks. thanks. thanks... I gest it a glich from Prestashop 1.6 Link to comment Share on other sites More sharing options...
VertNature Posted November 17, 2014 Share Posted November 17, 2014 I confirm the bug and its solution for me as well in 1.6.0.9 version: This happened after trying the advanced stock management, which created funny values per articles and curiously disabling the transporter option in the FO (...?). So I reverted to simple stock management and then got stuck with impossible quantities adjustments in manual mode. Thanks to this forum and shared experience, "I clicked on the " I want to specify available quantities manually" button, even though it was already highlighted" and now it works again in simple stock management. I'll have to try the Advanced mode later again... Link to comment Share on other sites More sharing options...
Hessellund Posted December 7, 2014 Share Posted December 7, 2014 Unfortunately this solution did not work for me. I am upgrading from 1.5.6.2 to 1.6.0.9, and for some (not all) products the stock values are "0" and cannot be changed. On the BO product overview page the stock is not zero!! Any help or pointers appreciated. Thx Link to comment Share on other sites More sharing options...
Szed Posted February 18, 2015 Share Posted February 18, 2015 Hi, this solution is working for me but... what for product pack ? The checkbox isn't displayed for them :/ Link to comment Share on other sites More sharing options...
jorgecrce Posted March 2, 2015 Share Posted March 2, 2015 Hi, Thanks a lot. This solution looks to work for me. But now I have another problem, I have more than 1000 products in my store, and update each one manually is not an option, so, how I could automate this task? Maybe it's to change any value in the products database? Link to comment Share on other sites More sharing options...
jorgecrce Posted March 8, 2015 Share Posted March 8, 2015 Ok, we got it. I have exported all our id products to a CSV, and then add a second column with all "0". Then import it and select in the second column use advance stock managemente. Then all our producs work allright with traditional stock system. 1 Link to comment Share on other sites More sharing options...
jandresbc Posted July 21, 2015 Share Posted July 21, 2015 (edited) Ok, we got it. I have exported all our id products to a CSV, and then add a second column with all "0". Then import it and select in the second column use advance stock managemente. Then all our producs work allright with traditional stock system. Hello, This solution works for me, thanks for sharing jorgecrce. Edited July 21, 2015 by jandresbc (see edit history) Link to comment Share on other sites More sharing options...
Logical IT Posted February 22, 2016 Share Posted February 22, 2016 I had this same problem (I believe) where I would change the number, save and stay, and then poof, it would revert back. I clicked on the " I want to specify available quantities manually" button, even though it was already highlighted and now it works. Thank you this worked for me. I experienced this problem with PrestaShop version 1.6.1.4. Problem started occurring after upgrade from 1.6.0.9 to 1.6.1.4 . Also the problem may have started occurring after turning off advance stock management. Link to comment Share on other sites More sharing options...
BoKr Posted June 14, 2016 Share Posted June 14, 2016 (edited) Oh no, I just noticed this caveat an hour ago and I know that we are in big trouble now.I turned advanced stock management off in February after running it for three years. I was able via CSV ex- & imports to recover the quantity of stock from asm to manual management based on stock. As users described above all looked! fine.But more and more often I stumbled over mismatch of stock in our warehouse and what Prestashop told us!!! :angry: My question is if it is possible to really turn off asm and reactivate manual stock based on stock...(sells and restock) via the DB? I have these tables here that do not change when buying certain articles: https://i.imgur.com/E3yIF1m.png So I went through this SQL command to update columns after I did an backup of the db. UPDATE `ps_product` SET `advanced_stock_management`=0; UPDATE `ps_product_shop` SET `advanced_stock_management`=0; UPDATE `ps_stock_available` SET `depends_on_stock`=0 This made things work again. ASM is definetly set to off and manual stock management runs fine. Edited June 14, 2016 by Boris_Shoppist (see edit history) Link to comment Share on other sites More sharing options...
intandem Posted March 30, 2017 Share Posted March 30, 2017 I had this same problem (I believe) where I would change the number, save and stay, and then poof, it would revert back. I clicked on the " I want to specify available quantities manually" button, even though it was already highlighted and now it works. 3 years later and on version 1.6.1.7 and we just started to experience the same issue - not for any new products we're setting up but for anything already in the system. I used your solution (which I would have never thought of on my own because obviously the radio button was already ticked) and it works!! Thanks so much! Link to comment Share on other sites More sharing options...
Recommended Posts