While adding a new product, please turn OFF the Show in Online Store toggle button to add the product in the inventory.
Please note that the products with batches cannot be shown on the online store.