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"

