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? Feb 27, 2018 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. Mar 10, 2018 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? Sep 30, 2018 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. Oct 3, 2018 at 5:42
  • Have a look at this magento.stackexchange.com/questions/221543/… Oct 3, 2018 at 5:44


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.