You can hide out of stock products from Shopify following the steps in this article: Click here

Did this answer your question?