Skip to product information
1 of 1
Published:2024.07.24

An example of how to randomly change the display order each time you access the slideshow section of the Shopify theme "Dawn"

An example of how to randomly change the display order each time you access the slideshow section of the Shopify theme "Dawn"

Applications

  • Hero image management and editing

How to implement

  • Javascript
View full details

The Shopify theme "Dawn" has a "Slideshow" section that is often used as the key visual for the home page. You can adjust the display order in the theme editor, but there are cases where you want to display them randomly each time you access the site. Here is an example of how to do that.


Example of setting the slideshow section of the "Dawn" theme to randomly switch the display order each time you access it.


[How to set it up] Add a custom Liquid section to the template where you installed the slideshow (in this example, the homepage) and insert the code.


After making a purchase (all items are ¥0), you will be able to view the sample code.

If you have already made a purchase, please login here.

Sample Codes

Test Theme :Dawn/Rise 15.2.0

Add a custom Liquid section and insert your code

Related Post