Please go to Online Store>>Online Store Settings>>Allow out-of-stock orders?>>Enable>>Update Store Settings.