To control whether a product can continue selling after it’s out of stock, follow these steps in Shopify:
Edit the product in your Shopify Admin.
Open the variant you want to update.
Enable or disable Continue selling when out of stock.
That’s it! This setting helps you manage how you want to handle inventory for preorder or regular products.