> For the complete documentation index, see [llms.txt](https://docs.webexp.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.webexp.dev/supra-shopify-theme/supra/sections-and-features/random-product.md).

# Random Product

Sends a visitor to a random product.

A page that sends the visitor straight to a random product. The reference has a `random` link in its footer and this is the same idea — browsing for its own sake.

It shows `picking something…` for a moment, then redirects. The choice is made in the browser from your product list, so it's genuinely random per visit rather than cached. If the redirect can't run — scripts blocked, say — a **view all products** link is there instead.

Assign the `random` template to a page.
