I'm having an issue with my buy button. I would like the variants to show, even when there is only one option. At the moment it only shows the variants when there are two or more variants. Do you know you I can fix this?
I found this question asking for exactly the same thing in 2016, with a solution that solved the problem. However the product.liquid file must have changed since then as I could not find the snippet of code referred to.