Skip to product information
【Dawn】Shopifyのテーマ「Rise/Dawn」のコレクションページで「タグによる絞り込み(詳細な絞り込み)」で不要なタグを非表示にする設定例:その2
Published:2024.12.12

[Dawn] Example of hiding unnecessary tags in "Filter by Tag (Detailed Filtering)" on the collection page of the Shopify theme "Rise/Dawn": Part 2

This method involves writing the tags you want to exclude directly into the code, but once you start using the theme, you probably don't want to have to edit the code. So, here's a way to add, delete, and edit the tags you want to exclude at any time using the editor of the "Rise/Dawn" theme.

◆Benefits of the setting: Tags can be edited on the theme editor.

◆Specific setting steps ① Add a scheme to "sections/main-collection-product-grid.liquid" and a label to "ja.schema.json" ② Add an argument to "sections/main-collection-product-grid.liquid" to pass the tag list specified in the filter setting snippets ③ Load the tags to be excluded in "snippets/facets.liquid" and add exclusion processing to the filters for desktop and mobile drawers


Example 2: Hide unnecessary tags using "Filter by tag (detailed filtering)" on the collection page of the theme "Rise/Dawn"


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


[(For the Rise/Dawn theme) Setting method ②] Add code to "sections/main-collection-product-grid.liquid" (add an argument to pass the tag list specified in the filter setting snippets)


[(For the Riae/Dawn theme) Setup method 3] Add code to "snippets/facets.liquid" (loading tags to exclude, adding exclusion processing to filters for desktop and mobile drawers)


After making a purchase (all items are ¥0), you will be able to view the sample code.

View store information

[Dawn] Example of hiding unnecessary tags in "Filter by Tag (Detailed Filtering)" on the collection page of the Shopify theme "Rise/Dawn": Part 2

If you have already made a purchase, please login here.

Sample Codes

Test Theme :Dawn/Rise 15.2.0

Add schema to "sections/main-collection-product-grid.liquid"

Add a label to "ja.schema.json"

↗ Related Post

すべてのShopify TIPS

View all