./bin/magento config:set cataloginventory/options/show_out_of_stock 1
./bin/magento config:set cataloginventory/options/can_subtract 0
./bin/magento config:set cataloginventory/item_options/manage_stock 0
update catalog_product_entity_decimal
set value = '9999.99'
where attribute_id = (
select attribute_id from eav_attribute
where attribute_code = "price"
and entity_type_id = (
select entity_type_id from eav_entity_type where entity_type_code = "catalog_product"
)
);
update catalog_product_entity_int
set value = 1
where attribute_id = (
select attribute_id from eav_attribute
where attribute_code = "status"
and entity_type_id = (
select entity_type_id from eav_entity_type where entity_type_code = "catalog_product"
)
);
./bin/magento indexer:reset
./bin/magento indexer:reindex