FROM CACHE - en_header

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
Reply 1 (1)
Guleria
Shopify Partner
2053 437 636

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
Try GEMPAGES page builder, a great app with drag & drop features and active support.