Shopify themes, liquid, logos, and UX
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!
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
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.
Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024Digital marketers and app developers have tracked activity in apps and websites for yea...
By Ollie Mar 13, 2024February was an exciting month with Shopify Editions, informative webinars, and more! F...
By JasonH Mar 7, 2024