Dawn 2.0 Automatic Shuffle of Featured Products

Kellytwins
Tourist
6 0 3

Hi

Is there a way to have my Featured Products automatically shuffle on my landing page?  I want my customers to see all different products when they visit my site - not the same 12 products.  

I'm in the process of switching to Dawn 2.0 theme but I am holding off until I can change this.

I've searched around but can't find a solution.

Thanks!

There is no beauty without some strangeness
Replies 2 (2)

Developer-G
Shopify Partner
3073 603 855

Hello @Kellytwins ,

 It can't be done with liquid; actually in liquid we don't have any option to randomize the products in a loop.
But yes with JavaScript the basic idea is we have to call more than 12 products in a loop and with JS have to randomize and display only 12. In this every time when users visit they will find different 12 featured products.  

Thanks

- If helpful then please Like and Accept Solution.
- Want to modify or custom changes or bug fix on store Hire me.
- Email: guleriathakur43@gmail.com - Skype: navrocks1 ,
- Try GEMPAGES a great page builder
-Advance Search Filter

savita_nagdev
Shopify Partner
20 0 1

Hello @Kellytwins ,

I know it's too late but if you are still looking for shuffling products for the featured product section on a landing page. I have the solution for implementing it via JS and liquid as well.