Sold out when selecting variant on featured product

Hi,

I’ve got two variants of a featured product on Dawn theme and when I select the second variant the add to cart button greys out and then says sold out for both variants so it’s impossible to buy from that page.> > This doesn’t happen if you just go to the exact same product from a collection so seems to be an issue specific to the featured product on the home page.> > I’ve checked the stock and that’s all fine and the different options for where the stock is coming from but that all seems to make no difference at all.> > Any help would be appreciated as this is driving me nuts!

1 Like

Hello, Lee3g, has someone modified your dawn theme before? This seems like a bug with the featured product section script. And I didn’t understand very well. You said it’s impossible to buy from that page, but didn’t you say it only appears as sold out when you click on the secndo variant? So, if you just go directly to buy the first variant and don’t click anything, does it still work?

Hi Uhrick, thanks for looking at this. Yes it works if you click add to basket on the first variant if you don’t click on the second but as soon as you click on the second variant it says sold out for both. You can see the issue here - https://huemee.com

Hi there. From what I am seeing, yeah, it pretty much looks like a bug in the script. Which is weird, since dawn was set by shopify itself, and it usually works very well. So, did someone do something in your code?

But either way, it would probably involve some discovery work on the code, to see exactly where it’s wrong and how to fix it, I’d advise you to get the assistance from a developer. I am available to discuss it with you, but you can also search in other types of channels