New Shopify Certification now available: Liquid Storefronts for Theme Developers

How to set quantity range each time when size is changed

Siddarth_
Visitor
2 0 0

Hi,

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.

OR

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)
gr_trading
Shopify Partner
1406 131 151

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: gr.trading15@gmail.com for quick consultation. | YouTube Videos
To support Buy Me a Coffee
Siddarth_
Visitor
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.