Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I want to hide the configurable product images when a configurable swatch is clicked.
So by default configurable shows Green, red and blue.
And when I select Blue swatch of my simple product only Blue products images should show.
Try to use etc/view.xml file in your theme, with this configuration:
The Luma Theme default value is prepend.
See this question and this link.
Required, but never shown