Redirect out of stock product

Topic summary

A user wants to automatically redirect out-of-stock products to either the homepage or another collection page.

A response directs them to Shopify’s official documentation on URL redirects, which covers the processes for setting up redirects.

Status: The question remains partially addressed, as the suggested resource covers manual URL redirects but may not fully explain automatic redirection based on stock status, which typically requires custom code or apps.

Summarized with AI on November 2. AI used: claude-sonnet-4-5-20250929.

I would like to redirect out of stock products automatically to the home page or to other collection.

Hi there @nesavudeveloper check out this official Shopify guide https://help.shopify.com/en/manual/online-store/menus-and-links/url-redirect# to see the processes involved in redirecting URL links the way you want them.