0

Configurable products are not changing the pictures while selecting attributes like size or color. I really don't know how to fix this problem. It is two days now and I still facing the same issue.

I noticed while I click on the attribute, it's giving me this error on the swatch-renderer.js.

this.options.jsonConfig.mappedAttributes is undefined

This is the default swatch-renderer of Magento 2.3.3, not a custom one from the theme.

Can you please help me with that? PS, I'm on Magento 2.3.3

Thanks!

11
  • How can we check this thing without getting this error. please check swatch-renderer.js file and check why getting mappedAttributes undefined from jsonConfig. Please trace each and every step. Commented Dec 15, 2019 at 3:57
  • Let me know this issue only occurred on product detail page and also occurred on listing page?? Commented Dec 15, 2019 at 3:58
  • How can I do this? And yes, I'm having the same error on both catalog page and product page Commented Dec 15, 2019 at 4:29
  • you need to check where to set data in jsonConfig. you have to trace each and every thing in js and block. may be data would be set in json from block Commented Dec 15, 2019 at 4:34
  • I didn't edit the file. That is the standard file from magento. Why should I edit the file? Commented Dec 15, 2019 at 4:36

0

Your Answer

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

Browse other questions tagged or ask your own question.