Jump to content

Products -> Quantities - Deny Orders, where is that in the DB?


peskywinnets

Recommended Posts

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)Screenscape.jpg.7ea0bc0e99c9baeec57ea6ce9ea577ff.jpg...

 

 

Link to comment
Share on other sites

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;

  • Like 2
  • Thanks 1
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...