When I deselect the swatch once after selected the product image went blank when I inspected and the image src went undefined in Magento 2.2??

  • are u getting any error in console? – Navin Bhudiya Feb 27 '18 at 12:05
  • No I didn't get any error the src of the image is undefied. Any help would be appreciable. Looking forward to the response. – Prathap Gunasekaran Mar 10 '18 at 14:32
  • 1
    We have the same same problem, but in our case it depends on the input-type of the attributes of the configurable products. Creating configurable products using only swatches with input-type "dropdown" it works fine, but using attributes with "Visual Swatches" we also get the blank image-area. But we are still testing. Did you find out any helpful news about this issue? – feelcomfort Sep 30 '18 at 12:48
  • @feelcomfort We didn't found any fix for this but we have auto selected the swatch and it can be de-selected anymore since it is and required one so the user must have to select any one of the swatch. Hence the bug won't be available in this case. – Prathap Gunasekaran Oct 3 '18 at 5:42
  • Have a look at this magento.stackexchange.com/questions/221543/… – Prathap Gunasekaran Oct 3 '18 at 5:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.