Web Designing, Web Development, Website Design, Website Development, SEO

0091 98233 72069

COGS: CUSTOMISED, OPTIMISED, GENERALISED WEB DESIGN & WEB DEVELOPMENT SOLUTIONS

Magento – Default Stock Availability set to ‘in Stock’

You need to add an attribute to the database:
insert into core_config_data
values ( null, 'default', 0, 'cataloginventory/item_options/is_in_stock', 1 );
Refresh the cache and you’ll see it works.
by
Conor Wyse
to set default quantity
insert into core_config_data
values ( null, 'default', 0, 'cataloginventory/item_options/qty', 10 );
you can change 10 to your choice