To show out of stock products in the Online store on Web, please follow below mentioned stpes:
Step 1: Go to online store in your swipe application and click on online store settings.
Step 2: Disable the toggle button for allow out of stock order and click on Update Store Settings.
Step 3: This is how the products are displayed in the online store when they are out of stock.