Display colour fields as a PNG swatch WITHOUT app - Dawn theme 10.0

Hi,

See our product page here - https://w5xub3dnkm7r0l85-77896974665.shopifypreview.com/products/copy-of-handmade-wooden-media-unit-chunky?variant=48865495253321

I want the first option ‘Colour’ to just display some colours swatches from a png. So for example it looks at the value, finds the asset in the folder and displays that as the swatch.

I have seen lots of tutorials in the past on how to do this but I cannot find them or they are outdated. I have no interest in using an app to do this.

Any help would be appreciated.

Thanks

Hi @romanandisaac

This can be done using custom code.

First add images in asset and then in the swatches files add code to show images according to the colors.

If not familiar with code then please contact with shopify developer.

Thanks.

I know this, I was looking for the code to have to add into the variation option to show the image from the asset folder for the color option

@romanandisaac

have to create the code according to theme, it will took 5-6 Hours for this functionality