dabac.prom Posted July 25, 2016 Share Posted July 25, 2016 Ok, in my shop I will only sell items that have only 1 piece in quantity. But I have cca 300 diferent parts of items, and it is boring to change manualy quantity from 0 to 1. Where in shop files I can manualy change this to be 1? Link to comment Share on other sites More sharing options...
endriu107 Posted July 25, 2016 Share Posted July 25, 2016 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. 2 Link to comment Share on other sites More sharing options...
dabac.prom Posted July 25, 2016 Author Share Posted July 25, 2016 Thank you!!! 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