All things Shopify and commerce
Good Morning Everyone,
I'm looking for a way to display a random collection in the featured collection widget. I have been looking and see many ways to randomize product order within a collection but no way randomize the collection selection. Any ideas?
Hello @TwistedCrafts ,
Possible but needs customization.
If you can code please follow or you need to hire a developer:
Define collections name in the top of the loop or widget depending on the setup you have.
If you are working with a developer you can ask him to provide options in theme settings to enter collection names so you can manage them without editing the code.
In the second step use the defined collection with JavaScript and random logic so every time a customer reloads the page a new collection appears in the widget.
Last step: get the response from the JavaScript and append it in the existing widget or maybe you need to create a new one depending on the existing code.
If problem solved don't forget to Like it and Mark it as Solution!
And if you need help with customization/code part you can contact me for services
You can find the email in the signature below.
Thanks
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024