Dawn 2.0 Automatic Shuffle of Featured Products

Kellytwins
Tourist
4 0 2

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!

Reply 1 (1)
Guleria
Shopify Partner
1816 382 547

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

Want to modify or custom changes on store hire me.
Email: guleriathakur43@gmail.com, Skype: navrocks1
If helpful then please Like and Accept Solution.
Buy me a coffee ☕ My PayPal