• Resolved Fox Lee

    (@fox-lee)


    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 511 of variation-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 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support fizanzvai

    (@fizanzvai)

    Hi,

    Thanks for reaching out to us. Unfortunately, it seems like you are not using our plugin.

    Please share your correction in the corresponding plugin support forum.

    Thank You

    Thread Starter Fox Lee

    (@fox-lee)

    Well that’s embarrassing :\ I see now, the plugins have the same display name, but the internal name is different. Sorry for wasting your time!

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.