Variant Selection not updating

Hi,

I’m having some trouble with variants not updating to next available when selected. I have two variants, ‘Size’ and ‘Number’

When the first variant is selected the variant selector defaults to first available, for example size 24 x 32" the next available number is 5

However for the next size up, 35 x 44", the next available number is 9. When I click on 35x44" the variant picker is still trying to select ‘5’ and so displays as out of stock until ‘9’ is manually selected.

Can I get the variant picker to update the number selection automatically to the next available based on the Size clicked?

Using Colorblock theme, comfortable with code based solution, many thanks

2 Likes

Hi, the theme I’m working on isn’t live, I’m updating it for a friend, so not sure how much help these will be

the behavior is also happening on the current store (Minimal Theme, you’ll see why it needs updating when you click!)

Product 1

Shows the ‘Sold Out’ issue

Product 2

Is defaulting to Number 2 for the size 25x17" as it should, but should be selecting Number ‘1’ when Size 35 x 24" is selected, but stays stuck on ‘2’

Hi, if you used the contact form on that website it will have gone to my friend, not to me. I can be reached here in the forum

1 Like

Unfortunately I’m not able to do this