I have created a configurable product with multiple options. When clicking on swatches only the first product swatch image was getting displayed but when we click on the other swatches then also the first product swatch only getting displayed.

Can any one help me on this problem? Any references or suggestions are highly appreciated.


1 Answer 1


We faced a similar type of issue in Magento 2.1.6 and upgrade the version to 2.1.7 based on some git hub article for the fix but still, the issue persists.

After doing further debugging we came to know that this issue is with catalog flat table which was enabled. When we disable the catalog flat table the configurable products swatches are started working. Please check your configuration once.

Store → Configuration → Catalog → Catalog → Use Flat Catalog Product → No

  • Please Update the full path of configuration. Jul 25, 2017 at 14:11
  • Updated the answer, please check
    – ImranSheik
    Aug 29, 2017 at 13:18
  • It is worth to say that disabling Flat Catalog leads to some performance decrease.
    – Gediminas
    Oct 26, 2017 at 7:20
  • On my website this setting already off but configurable images not change.
    – Narayan
    Oct 26, 2018 at 7:14

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.