An example setup for displaying collection links as pills on Horizon theme product pages — showing which collections the product belongs to. Add it through the theme editor without writing any code, and use it as a navigation aid to encourage browsing across collections.

Setup Instructions
Add a Custom Liquid block to the detail block of the product template and insert the code.

Code to Add

The "all" and "frontpage" collections are automatically excluded. You can change the label text by editing "この商品を含むコレクション" in the code.
Related: [Dawn] Display Collection Links on Product Detail Page
