I have an All Products page that currently shows all products from all collections, and sorts alphabetically. The problem with this is that the first page always shows products from one collection, due to alphabetical sorting. I would like to just randomize product order on https://leepowersteering.com/collections/all . Any ideas? Thanks in advance for your time and suggestions.
Hey there,
Iām Ann, from the team here at Shopify ![]()
At this time, the ācollections/allā page isnāt built to let you modify the order the products are placed in. This collection will always showcase your products in an alphabetical order. That said, there is a workaround you can try!
What you will want to do is to create a new collection that has all your products in it. You can see the steps on how to create a collection on this page in our Shopify Manual. Once this collection is created, you can change the order of the products to go in any order you want. It can be manual, newest, best selling, etc. Once you decide on the order you want your products to appear in, you can go through your store and update any links so that instead of people seeing the old all products page, they will see the new one you created instead.
I hope this helps! If you have any more questions or concerns feel free to reach out to us on this thread ![]()
Have a great one,
Ann
What theme allows random sorting of a collection? Newest, Best Selling or Manual isnāt random and it seems Iām not the only one requesting it.
Hello, I am also new shopify with web development experience. How can I make products randomly appear on my website https://tourtraveldiscoverafrica.com/
Your assistance is greatly valued.
Hello @dbp , @AhumuzaBarungi , @Pat-dm
It is possible to change the order of displaying the products on the frontend using JS. Let me know if you guys are still looking for a solution.
Hi there, Iām new to Shopify but have experience in web development. Could you guide me on how to display products randomly on my website https://brokenplanetofficials.com/? Your help is much appreciated.
Hi there, @manzoorraypur . Thanks for following up on this older thread! Shopify Support Staff arenāt trained on coding, so we wouldnāt be able to advise specifically on what code you need to add to your theme, and where, to make this happen. With that being said, there are some methods you can use beyond coding to achieve this functionality:
-
You could create manual collections for your products, and then manually adjust how these products appear in the collection manually every so often. This would provide you with total control of how these products would appear in a collection, but can be time consuming and requires manual action.
-
You could look into a third party app solution. Thereās an app called ācollection sort and manageā that has over 50 sorting options for your collection. This is definitely something worth looking into to see if it matches what youāre looking for!
As there isnāt a blanket ārandom sortā option, Iām happy to pass your feedback along to our Developers are requesting this be implemented in the future. If you can provide me with some information as to why you were looking for a random sort option, this would be helpful context for us to have to pass along!
I also want to know how can I implement a randomized product order on my āAll Productsā page in Shopify, considering that the current setup sorts products alphabetically and primarily displays items from one collection on the first page? Any guidance or suggestions would be greatly appreciated.