Please copy srcset in catalogue thumbnails
-
Hello, I’d like to request that you update the code which replaces thumbnails in order to copy the original’s srcset, where provided. I know WC catalogue doesn’t use srcset by default, but for those who (like me) who have added it, your plugin forces loading a fixed-size thumbnail for variants instead.
I’ve fixed it for my install by changing this in line
511ofvariation-swatches-woo/assets/js/swatches.js…thumbnail.attr( 'srcset', imageData.thumb_srcset );…But of course it will be overwritten with the next update, so it would be much better if you could please change this in the proper version too. Thanks for your consideration 🙂
You must be logged in to reply to this topic.