Peregrinedocs

404 page

What a visitor sees when they land on a page that doesn't exist — a mistyped address, an old link, a product you've deleted. Peregrine treats it as a second chance rather than a dead end.

Why it has a search box

Somebody reaches this page because they couldn't find something. A page that only says "not found" and offers a link home makes them start their search over. Peregrine puts a search box on it, so they can finish looking instead — it's the single most useful thing this page can do, and it's on by default.

Settings

Open the theme editor and switch the page selector to 404 page.

SettingWhat it does
HeadingLeave blank for the theme's own wording, which is written to be human rather than technical.
MessageThe line under the heading. Blank uses the default.
Show a search boxOn by default, and worth leaving on — see above.
CollectionOptional. Pick one and a row of its products appears below the message, turning the page into a way back into your catalog. Nothing shows until you choose one.
Heading (products)The line above that row. "Popular right now" by default.
Products to show2–8.

A note on the big "404"

The oversized 404 near the top is decorative — it's hidden from screen readers on purpose. The page's real heading is the sentence beneath it, because "404" tells somebody using a screen reader nothing they can act on. It's a small thing that matters for accessibility reviews.

Testing it

Add any nonsense to your store's address — yourstore.com/not-a-real-page — and you'll land on it. The page returns a proper 404 status to search engines as well, so a missing page is correctly dropped from search results rather than being indexed as a real one.