Skip to product information
1 of 1
Published:2024.10.26

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

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

Applications

  • Product information management and editing

How to implement

  • Javascript
  • HTML/CSS
View full details

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.

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