Out-of-stock product: hide it or keep it visible?
An item has sold out. You can leave its page in the shop or hide it. Both options make sense, but they give the customer different information.
What WooCommerce says
The WooCommerce documentation describes an Out Of Stock Visibility option under WooCommerce > Settings > Products > Inventory. If you tick it, out-of-stock products are hidden from the store catalog and the customer view. The option is available even if you do not manage stock quantities. The same guide explains that, by default, the add to cart button shows Read More on out-of-stock products in the catalog, and that changing that text requires a developer customization.
There is also a stock display format: you can always show the quantity, show it only when it is low, or not show it.
When keeping it visible may help
If the product will return or people already search for it by name, a visible page with a clear status can save questions. Someone who already knows the item finds an explanation instead of only seeing that it is gone. The status has to be obvious: a button that says Read More does not explain that the item cannot be bought.
When hiding it may help
If the item will not return, a catalog full of unavailable products can waste the time of people browsing. Hiding it simplifies the catalog, but check what someone sees when they arrive through a direct link or a search engine.
Practical check
Look at the shop as a customer would: open an out-of-stock product from the catalog and from a direct link. Check the button text, the stock status and whether there is an alternative nearby. Decide by product family, not by habit. A small change can prevent repeated questions, but there is no single right option for every shop.