Hi David,
Thanks for reaching us.
We need an event from your filter plugin that should be triggered after new posts are loaded.
Just send this plugin to your plugin developer: https://wordpress.org/plugins/malinky-ajax-pagination/
And ask them to send trigger like following as the Malinky Ajax Pagination plugin provides.
document.addEventListener(‘malinkyLoadPostsComplete’, function(e) {
console.log(‘LoadPostsComplete’);
});
Like this filter plugin: https://woocommerce.com/products/product-filters/
jQuery(document).ready(function( $ ){
// Your code in here
jQuery(window).on(‘wcpf_update_products’, function () {
console.log(‘Hi’);
});
});
Which plugin are you using for Ajax filtering or does it come from your theme?
Thank You
Can’t View Variations after filtered products are displayed by Ajax.
David Sparks
Anytime I use a filtered results display on my shop page the swatches display but clicking on them does not change the image. Am I doing something wrong?