Skip to product information
1 of 1
Published:2024.08.30

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"

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"

Applications

  • Hero image management and editing

How to implement

  • HTML/CSS
  • LIQUID
View full details

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)


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 schema to "sections/slideshow.liquid"

Add a label to "ja.schema.json"

Modify the code in "sections/slideshow.liquid" (add code)