Changing Default Values in Quantity Selectors

Highlighted
New Member
7 0 0

Hi,

I'm trying to get the default values of the quantity selectors to be 0 for everything, except the first variant (1,0,0,0,0). 

Here's an image for reference:

Shopify Help 1.png

I think I'd have to change the value="0" part in the following code, but I'm not sure how to put a list of numbers there.

<input type="number" value="0" id="quantity-{{ forloop.index0 }}"style="width:15%;"/>

Any help is appreciated! 

0 Likes

Could you please share your website URL?

Thanks & Regards
Perennial Solution

Would like to add new functionality or customize an existing one, please hire us.
If helpful then please Like and Accept Solution .
Email: infoperennialsolution@gmail.com
Skype: infoperennialsolution
0 Likes
New Member
7 0 0

Hi,

Website URL is imgonnaleaveyou.myshopify.com 

Password is euttod

0 Likes

hello

hope you doing well

 

set a first variant option min value = 1

 

if any issue let m know 

Thanks & Regards
Perennial Solution

Would like to add new functionality or customize an existing one, please hire us.
If helpful then please Like and Accept Solution .
Email: infoperennialsolution@gmail.com
Skype: infoperennialsolution
0 Likes
New Member
7 0 0

Hi,

I'm not sure how the code for first variant option min value = 1. Is it possible to show me?

Thanks for the response! 

0 Likes