Want To Duplicate Product Variations With Its Price, Image, SKU and etc? Download This Free Plugin

I cannot select color variations after loading with the Load More button

I’m using Variation Swatches for WooCommerce Pro and I’d like to use the Load More plugin by BeRocket to load more products. There is a conflict though with Variation Swatches for WooCommerce: when I load the products, the color selection doesn’t work anymore for the products which just loaded (it still works for the products which were already visibile). Please advice. Thanks, Marco

Shahin Sid

Hello Marco Mancosu,

Please, give us the latest plugin file of “Load More plugin by BeRocket”.

Our dev team will test it and if any issue found, we will try to fix it for you.

Thanks

I got in touch with the Load More plugin developers, who say:

“Plugin “Variation Swatches for WooCommerce” has some script that initialize all functionality.
To fix issue add code that initialize functionality in plugin settings -> JavaScript tab -> After update field.
To get correct code please contact “Variation Swatches for WooCommerce” developers.

Could you please provide this code and I’ll add it to that field?

Thanks,

Marco

I haven’t got any replies from you yet to my last comments. I’ll open a new ticket, perhaps that will get more visibility.

Ahmed Ehsaan

Hi Farrelly,

Thanks for reaching us.

We need an event from your filter plugin 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’);
});
});

Thank You

Ahmed, can’t you just provide the info they ask for so I could add that to their field, as per my previous comment?

“Plugin “Variation Swatches for WooCommerce” has some script that initialize all functionality.
To fix issue add code that initialize functionality in plugin settings -> JavaScript tab -> After update field.
To get correct code please contact “Variation Swatches for WooCommerce” developers.

 

Also, I just tried with a different plugin, Ajax Load More Pro. I get the same problem, there is a conflict with your plugin which prevents images of variations from loading if the product loads below the Load More button.

Could you please help in fixing this?

I talked to the Ajax Load More plugin developer, who says that

“we need to ask the other plugin if there is a function we can call inside our callback function to initiate the variation switcher. Tell them you are loading products via Ajax and it doesnt work as the function is called on page load.”

They told me this should be possible https://connekthq.com/plugins/ajax-load-more/docs/callback-functions/almcomplete/

Would you mind speeding up a bit your replies? This issue has been going for a week now and my client isn’t happy. I need to understand whether your plugin fits or not.

Ahmed Ehsaan

Hi Farrelly,

I am the developer of this plugin, Could you add me here on Skype?

My Skype email address is: [email protected]

Please add me and say hi. I am waiting for you there to quickly squash your issue.

Thank

Ahmed Ehsaan

What is your ID on Skype. Could you give the invitation link?

Ahmed Ehsaan

I replied you over Skype