Skip to product information
1 of 1
Published:2024.09.05

Example of setting up the featured collections of the Shopify themes "Dawn" and "Rise" so that they are only displayed to logged-in accounts

Example of setting up the featured collections of the Shopify themes "Dawn" and "Rise" so that they are only displayed to logged-in accounts

Applications

  • CollectionsEdit

How to implement

  • LIQUID
View full details

You can also set various sections available in each Shopify theme to be "displayed only to logged-in users." Here's an example of how to do this using the "Featured Collections" section.


Example of settings to display the featured collections of the themes "Dawn" and "Rise" only to logged-in accounts


[(For the Rise theme) Setting procedure ①] Add the schema to "sections/featured-collection.liquid" and the label to "ja.schema.json"


[How to set it up] Add the code surrounding the display code in "sections/featured-collection.liquid" (this will only display logged-in accounts if "Show only logged-in users" is checked).


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/featured-collection.liquid"

Add a label to "ja.schema.json"

Add the code surrounding the display code in "sections/featured-collection.liquid"

...
Related Post