I am using the Debut theme.
I've recently updated code to hide all thumbnails for a product with multiple variants (for a clean visual) and display just one image, but cannot get the product image (and additionally the price) to change when a variant is selected from the dropdown menu. My variants all have images uploaded, but only one of them will show right now. I am hoping I didn't botch a code somewhere!
Regardless of what I select in the dropdowns below, this one image shows for all of them, despite each variant having its own image uploaded. This image showing is also not the feature image I want to show before a variant is selected, but I'd rather have the variant images fixed first.
Additionally, if I chose a different variant and add to cart, not only does the above image show in the cart regardless of my choice, but the size/color corresponding to that image does too! So the wrong item gets added.
Any help appreciated!
Solved! Go to the solution
You need to define an image for each specific variant at the Product page.
Let me know whether that helps.