Skip to product information
1 of 1
Published:2026.04.23

[Horizon] Allow the product-tags block to be placed inside the product detail page

[Horizon] Allow the product-tags block to be placed inside the product detail page

Applications

  • 商品情報管理・編集
View full details

A follow-up setting to the product-tags block added on 2026-04-22 — this makes it possible to drop the block inside the product detail page (PDP) as well. Adding a single line to the blocks/_product-details.liquid schema makes "Product Tags" appear in the block picker inside the product details block.

Result

Product tags can now be placed anywhere inside the product details block on the PDP (for example, between title and price). The settings panel (excluded tags, colors, font size, etc.) is shared with the collection card version.

Product tags shown on a product detail page, with an excluded-tag setting applied

How to use

Keep your per-product tag assignments as-is. In the theme editor, open the product template and add "Product Tags" inside the "Product details" block. List any tags you want to hide, comma-separated, in the filter field.

Tag assignment in the admin and excluded-tag setting in the theme editor

The block itself (blocks/_product-tags.liquid)

The _product-tags.liquid used here is identical to the one from the 2026-04-22 TIPS. If you've already set it up, it works as-is (see the sample code of that TIPS or the image below for the full code).

_product-tags.liquid — same content as 2026-04-22

Code addition: extend the allow-list in blocks/_product-details.liquid

The product details block (_product-details.liquid) uses an explicit allow-list for child blocks in its schema blocks array. It combines @theme (all public blocks) with individual types (price, variant-picker, buy-buttons, etc.). Unless you add _product-tags here, this private block won't appear as a candidate in the block picker.

Add the following entry after the last existing item (product-custom-property):

_product-details.liquid — one line added to schema blocks

After saving, open the theme editor, select the "Product details" block inside the "Product information" section → "Add block" → the "Product Tags" item appears under the "Product" category.

Note: blocks/_product-details.liquid is a core Horizon theme file. Your edits may be overwritten when Horizon updates. After an update, reapply manually or manage the change via GitHub integration for cleaner merges.

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 :Horizon 3.4.0

blocks/_product-tags.liquid(新規作成・ブロック本体 — 2026-04-22 と共通)