peskywinnets Posted June 16, 2020 Share Posted June 16, 2020 Catalog -> Products -> Quantities - Deny Orders ...where is that in the DB? At the moment it seems randomly set across the product portfolia, I don't fancy having to edit one by one ...if I could locate the field in the database I can update using SQL, any ideas (see attachment for a screenscrape of the parameter I'm referring to)... Link to comment Share on other sites More sharing options...
Razi Posted June 16, 2020 Share Posted June 16, 2020 This is in ps_stock_available table , column name is out_of_stock. default values are (0,1,2) 0 = Deny orders 1 = Allow orders 2 = Use default behavior Here is Query if we want to change the id_product=1 and out_of_stock=2 UPDATE `ps_stock_available` SET `out_of_stock` = '2' WHERE `ps_stock_available`.`id_stock_available` = 1; 2 1 Link to comment Share on other sites More sharing options...
Guest Posted June 16, 2020 Share Posted June 16, 2020 Or my free module for PS 1.6 > 1.7: Link to comment Share on other sites More sharing options...
peskywinnets Posted June 16, 2020 Author Share Posted June 16, 2020 Thank you very much - that sorted it (& saved me a whole heap of time) 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