i’m trying to modify my theme (Impulse) to display product variant image as color swatches (instead of a color png).
I modified the liquid file that contains the swatch code, but I’m stuck with an issue. A product with different color variants will display only the first product variant image on all swatches. See picture attached photo.
The variant count is correct, but it chooses the first variant image for all color swatches.
Product swatch liquid code (original): https://www.codepile.net/pile/ORjr0QRy
Product swatch liquid code (modified - with the issue): https://www.codepile.net/pile/zJGkKeJY
Any gurus out there who happens to have a quick fix for this?
you can just upload your swatch image in the asset folder, for example, your have the color red so please upload the image red.png or white so white.png make sure the same name image upload if long name color swatch so fine name is your-color.png
can you please give me store url?
no rush give this theme preview url
did you upload swatch image on product admin with variant?