Hi Mihai,
Thanks for reaching out to us. You can reinitialize the swatches scripts by using the following trigger:
$(document).trigger('woo_variation_swatches_pro_init');
After changing the slide the above trigger can be called to reinitialize the swatches data.
I hope it will help.
Thank You
Variation Swatches not bluring out of stock products on frontpage.
Mihai Ghinoiu
Hello,
I’m using this variation swatches for woocommerce in combination with elementor and jet engine (crocoblock) listing grid.
On archive pages, the out of stock variations blur out properly. On front page, the variation blur out in the product sliders only if out of stock products load first, if they are at the end of the sliders, the variation options won’t blur out the out of stock ones until clicking upon any of the options.
Is there any way you can point me to the piece of code that checks this? I want to write myself a function to run this check after couple of seconds (so add a delay before disabling variations).
Thank you/