Skip to product information
【Dawn】Shopifyでバリアントメタフィールドに設定された値をバリアント選択に応じて表示切替するための設定例
Published:2024.03.25

[Dawn] Example of setting to display the value set in the variant meta field according to the variant selection in Shopify

On Shopify's product detail page, you may want to use the variant meta field to switch the listing information for each product variation. Here is an example of how to set this up using a combination of JavaScript and liquid.


Example of a setting to switch the display of the value set in the variant meta field (e.g. expected delivery date) depending on the variant selection


How to set it up: Add a customized Liquid block to the product information section and insert the code


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

View store information

[Dawn] Example of setting to display the value set in the variant meta field according to the variant selection in Shopify

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

Sample Codes

Test Theme :Dawn/Rise 15.2.0

Add a customized Liquid block to your product information section and insert your code

↗ Related Post

すべてのShopify TIPS

View all