Skip to product information
【Dawn】Shopifyのテーマ「Dawn」の商品詳細ページで、バリアントごとにカート追加に会員登録が必須かどうかを指定できる設定例
Published:2024.06.11

[Dawn] An example of a setting on the product detail page of the Shopify theme "Dawn" that allows you to specify whether or not member registration is required to add each variant to the cart.

In the Shopify theme "Dawn," you can restrict the "Add to Cart" button so that only members can purchase, but you can also set it on a variant-by-variant basis. Here is an example of how to do that.


An example of a setting on the product detail page for the theme "Dawn" that allows you to specify whether member registration is required to add each variant to the cart.


[Method 1] Create a variant metafield that allows you to specify whether or not individual variants require membership registration.


[Method 2] Add a customized Liquid section to your product template and insert the code


[Setting Method 3] Set the value of the metafield "Members Only" to true for each variant that can only be purchased by members.


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

View store information

[Dawn] An example of a setting on the product detail page of the Shopify theme "Dawn" that allows you to specify whether or not member registration is required to add each variant to the cart.

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

Sample Codes

Test Theme :Dawn/Rise 15.2.0

Add a customized Liquid section to your product template and insert the code

↗ Related Post

すべてのShopify TIPS

View all