I know this is probably a duplicated, but I read ALL the posts about this issue and I still didn't figure it out.
So, I have attribute size
(dropdown) and attribute color
(swatches). What I want is to change the picture based on the selection of the attributes.
The result is that Magento loads me the default picture.
I cleared the cache and I did a re-index, but the problem still persists.
Any suggestions?
Here is the screenshot
https://i.stack.imgur.com/wnAPt.jpg
Here is the configuration I have on the back-end
https://i.stack.imgur.com/154Mc.jpg
https://i.stack.imgur.com/YVTyW.jpg
Here is the error that I got:
TypeError: this.options.jsonConfig.mappedAttributes is undefined swatch-renderer.js:772:29
_getAttributeCodeById https://webiste.com/pub/static/version1576523586/frontend/Mgs/amely/en_US/Magento_Swatches/js/swatch-renderer.js:772
$.widget/</proxiedPrototype[prop]</< jQuery
_OnClick https://webiste.com/pub/static/version1576523586/frontend/Mgs/amely/en_US/Magento_Swatches/js/swatch-renderer.js:738
$.widget/</proxiedPrototype[prop]</< jQuery
_EventListener https://webiste.com/pub/static/version1576523586/frontend/Mgs/amely/en_US/Magento_Swatches/js/swatch-renderer.js:640
jQuery 2
PS, I'm using Magento 2.3.3
Thanks in advance!