How to Randomize The Collection Products Every Time Any Costumer Visit The Site

Topic summary

A user seeks to randomize product display order in Shopify collections so different customers see different arrangements on each visit.

Initial Response:

  • One commenter suggests creating a custom collection instead of using ‘collections/all’, which only displays alphabetically
  • However, this doesn’t solve the randomization requirement—it only allows choosing a fixed sort order (manual, newest, best-selling, etc.)

Community Feedback:

  • Multiple users confirm this doesn’t address the actual need for randomization
  • Several express interest in the feature but note Shopify doesn’t natively support it

Workaround Solution:

  • A user shares Liquid code that creates pseudo-randomization by selecting a random starting point in the collection based on current time (seconds)
  • The approach displays a fixed number of products from that random starting position
  • Due to Shopify’s caching, results change periodically throughout the day rather than on every page load
  • Code snippets provided show how to calculate random start index and iterate through products
  • A Spanish-language tutorial link is shared with full implementation example

Status: The discussion remains open with a partial workaround available but no true per-visit randomization solution. One user also suggests a third-party app as an alternative.

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

Hi @ChrisYAY did you get anywhere with this? Did you find a way to randomise product order?