Implementing color swatch feature in totally custom theme without any apps

9 0 1

Hello all,


I am new to shopify theme development & working on custom shopify theme for one of my client. Now, they want the product color swatch feature(gallery image will be changed based on color choice) in one of the product page. This product has 2 variants called size with dimension & color. So, once customer does select size & then color, then and only then product price will be changed. So, if anyone has knowledge about it or previously worked on this kind of feature in totally custom shopify theme, then kindly guide me to achieve this.