Jump to content

How to change default quantity from 0 to custom number?


dabac.prom

Recommended Posts

Easiest way is change it in to database:

 

table:

PREFIX_product

`quantity` int(10) NOT NULL DEFAULT '0',

 

and table:

PREFIX_stock_available

`quantity` INT(10) NOT NULL DEFAULT '0',

 

You need to alter those column and change default value to 1, after that all new product will be with 1 quantity. If you need change all value of existing product you can do this in the same tables, or you can export product to CSV, change quantity and import it.

  • Like 2
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...