1

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.

Thanks.

2

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

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

Your Answer

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

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