Skip to product information
【Dawn】Shopifyのテーマ「Rise/Dawn」の商品詳細画面でバリアントごとの数量セレクターに上限を設ける設定例
Published:2024.10.26

[Dawn] Example of setting a limit on the quantity selector for each variant on the product details screen for the Shopify theme "Rise/Dawn"

When specifying a quantity on the product screen of the Shopify theme "Dawn/Rise" and adding it to the cart, it is usually possible to specify a quantity greater than the stock quantity, but here is an example of how to set it so that it can only be specified up to the stock limit. Both the increment button and numeric input will only allow input up to the upper limit.


Example of setting a limit on the quantity selector for each variant on the product details page for the "Rise/Dawn" theme


[How to set it up] Add a custom Liquid block to the product information section of your product template and insert the code.


[Additional information]


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

View store information

[Dawn] Example of setting a limit on the quantity selector for each variant on the product details screen for the Shopify theme "Rise/Dawn"

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

Sample Codes

Test Theme :Dawn/Rise 15.2.0

Add a custom Liquid block to the product information section of your product template and insert the code.

↗ Related Post

すべてのShopify TIPS

View all