We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

How do I replace the color of a color swatch with an image? (Prestige theme)

How do I replace the color of a color swatch with an image? (Prestige theme)

diego10_01
Shopify Partner
10 1 2

Hi, I'm using the prestige theme and I want to replace the background color of the color swatches with images of the variants of the product.

 

So instead of those plain colors, I'd like pictures of the variants of the product to be displayed. 

 

I've been searching on the 'product-form.liquid' file, but I haven't been able to find the peace of code that inserts those plain colors. 

I'm using the prestige theme, but haven't been able to do it. 
How do I do it? Thanks beforehand.
Captura de Pantalla 2022-12-15 a la(s) 1.21.07 p. m..png

Replies 0 (0)