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
Highlighted
Shopify Partner
1275 103 159

Could you please share your website URL?

Thanks & Regards
Perennial Solution

Problem Solved?✔️Like and Accept the solution that can help others.
Need any help with theme customization or design? Hire us
Email: infoperennialsolution@gmail.com
Skype: infoperennialsolution
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
0 Likes
Highlighted
New Member
7 0 0

Hi,

Website URL is imgonnaleaveyou.myshopify.com 

Password is euttod

0 Likes
Shopify Partner
1275 103 159

hello

hope you doing well

 

set a first variant option min value = 1

 

if any issue let m know 

Thanks & Regards
Perennial Solution

Problem Solved?✔️Like and Accept the solution that can help others.
Need any help with theme customization or design? Hire us
Email: infoperennialsolution@gmail.com
Skype: infoperennialsolution
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
0 Likes
Highlighted
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