How to set quantity range each time when size is changed

2 0 0


I want to set a quantity range (1-6, 7-10, 11-16) every single time the size (Small case, Medium case, Large case respectively) is changed.

I attached the .mp4 for quick reference.


When a user enters in specific range suppose 8 the size should be automatically changed into Medium case & the price should be shown accordingly.


Please help me with this query. I would be so grateful to you.


Replies 2 (2)

Shopify Partner
1608 139 173

Hi this can be custom code in the theme.


You need to create variant metafield and write a script which will show the related field to show the values.

For any custom development WhatsApp or connect at Email ID: for quick consultation. | YouTube Videos
To support Buy Me a Coffee
2 0 0

Can you please help me in writing this script?  I am a newbie to coding. If possible can you make a video tutorial on your youtube channel.