Skip to product information
Published:2024.08.30
[Dawn] Example of setting up a block that can only be displayed to logged-in accounts in the slideshow section of the Shopify themes "Dawn" and "Rise"
The "Slideshow Section" is often used as the key visual for the top page of the Shopify theme "Dawn/Rize," but this is an example of how to set it up so that slides are only visible to logged-in users. This is useful when you want to make announcements to members.
Example of setting up a block that can only be displayed to logged-in accounts in the slideshow section of the themes "Dawn" and "Rise"

[(For the Rise theme) Setup procedure ①] Add the schema to "sections/slideshow.liquid" and the label to "ja.schema.json"

[(For the Dawn theme) Setup procedure ②] Modify the code in "sections/slideshow.liquid" (Part 1)

[(For the Dawn theme) Setup procedure 3] Modify the code in "sections/slideshow.liquid" (part 2)

Sample Codes
Test Theme :Dawn/Rise 15.2.0