Choose the right unavailable-product experience
The backend provides an Out Of Stock Behavior area as well as the related apps. Use those tools deliberately rather than treating every unavailable item the same way. A product awaiting a confirmed replenishment may need a different customer journey from a discontinued item. The important decision is what a customer can do next and what your team is committing to provide.