I am trying to create basic text swatches for an attribute (instead of drop downs). I created an attribute (for example, "packgesize"), set the "Catalog Input Type for Store Owner" to "Text Swatch" and entered all the swatch values. Then i created a configurable product with this attribute. But in a front end, configurable product images are not changing when select different packgesize. I have configured an attribute "packgesize " with text swatch type, but on packgesize change, the image is not changing on the product view page.
I am using Magento 2.2.6 and the code has not been changed.