Skip to product information
1 of 1
Published:2024.07.27

An example of how to set up the "Collapsible Row" block, which can be placed on the product page of the Shopify theme "Dawn," to be open from the beginning.

An example of how to set up the "Collapsible Row" block, which can be placed on the product page of the Shopify theme "Dawn," to be open from the beginning.

Applications

  • Product information management and editing

How to implement

  • LIQUID
View full details

On the Shopify cart screen, there are cases where you want to display recommended products only when the cart is empty, and hide them when there are products in the cart. For example, if you want to display a specific collection using the "Featured Collections" section, you can make a few changes to the beginning of liquid to specify the hide conditions.


An example of how to set up the "Collapsible Row" block, which can be placed on the product page of the Shopify theme "Dawn," to be open from the beginning.


[(For the Dawn theme) Setting method ①] Add the schema to "sections/main-product.liquid" and the label to "ja.schema.json"


[(For the Dawn theme) Setting method ②] Add the code to "sections/main-product.liquid"


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/main-product.liquid"

Add a label to "ja.schema.json"

Add the code to "sections/main-product.liquid"