Hi Jonathan,
Thanks for reaching out to us. We need an Ajax trigger that will fire after new products are loaded.
As the Berocket plugin shared this- berocket_ajax_products_loaded
So, please contact your filter plugin author and ask for a trigger that fires after the new product loads.
Then use it like this inside your current child theme’s functions.php file-
add_action( 'wp_footer', function(){
?>
<script id="wvs-ajax-compatibility" type="text/javascript">
jQuery(document).on('berocket_ajax_products_loaded', function () {
jQuery(document).trigger('woo_variation_swatches_pro_init');
});
}
</script>
<?php
}, 99 );
Just replace the berocket_ajax_products_loaded
with the provided Ajax trigger.
Thank You
Elementor Taxonomy filter with Variation Swatches for WooCommerce
Jonathan Michaud
Hello,
I am using your plugins for an e-commerce website. Visible here : https://n7.devpoisson.fr/boutique/, i used Elementor to display my product via a grid loop.
When you hover the different product, your plugins is working perfectly but when you used the taxonomy filter, the different variations became unclickable after the filter effect until you refreshed the webpage.
Is it an incompatible feature between elementor filter way ( probably AJAX way ) and your filter or it is some other problem ?
Thank you