Skip to product information
1 of 1
Published:2024.01.05

Example of setting up a multi-level parent-child hierarchy for collection breadcrumbs using metafields in Shopify

Example of setting up a multi-level parent-child hierarchy for collection breadcrumbs using metafields in Shopify

Applications

  • Collection information management and editing

How to implement

  • LIQUID
View full details

This is a setting example for Shopify that uses meta fields to display a hierarchical breadcrumb list on collection pages. It has a simple structure that allows you to specify a parent collection from a child.


Example of how to use metafields to create a multi-level hierarchical collection breadcrumb list

Example of how to use metafields to create a multi-level hierarchical collection breadcrumb list


[Setting method ①] Add the definition of "One collection per collection type" to the collection meta field


[Setting Method 2] Specify the parent collection in the meta field of the target collection


[Method 3] Add a custom Liquid section to a collection template in the theme editor and insert the code


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 a custom Liquid section to your collection template in the theme editor and insert the code

Related Post