Skip to product information
【Dawn】Shopifyで商品やブログに設定したタグについて「タグの完全一致」と「タグの部分一致」を判定するコード例
Published:2024.01.10

[Dawn] Code example to determine "exact tag match" and "partial tag match" for tags set on products and blogs in Shopify

用途

When Shopify identifies tags set for products or blogs, the method of determination differs depending on whether the specified tag is included (exact match) or whether a tag with specified characters is included (partial match). Here is an example of the Liquid code for this.


Example code for determining whether a tag matches exactly or partially on a product or blog


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

View store information

[Dawn] Code example to determine "exact tag match" and "partial tag match" for tags set on products and blogs in Shopify

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

Sample Codes

Test Theme :Dawn/Rise 15.2.0

「完全一致」を判別するコード例


「部分一致」を判別するコード例

↗ Related Post

すべてのShopify TIPS

View all