Skip to product information
1 of 1
Published:2023.09.08

Example of how to hide prices on collection pages in the Shopify theme "Dawn"

Example of how to hide prices on collection pages in the Shopify theme "Dawn"

Applications

  • Collection information management and editing

How to implement

  • LIQUID
View full details

There was a case where I wanted to display the price only in the product details and not display it on the Shopify collection page. The theme "Dawn" does not have a setting to hide the price by default, so this is an example of how to do it.


Example of setting to hide prices on collection pages in the theme "Dawn"


Setup Step 1: Add the schema to "main-collection-product-grid.liquid" and the label to "ja.schema.json"


Setting Step 2: Modify the code in "main-collection-product-grid.liquid" and "product-grid.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 "main-collection-product-grid.liquid"


Add a label to "ja.schema.json"


Modify the code in "main-collection-product-grid.liquid"