We’re locked at home because of covid-19, but working to support your business.
We apologize if you face any delay to get support response.
Stay safe and take care of your family and yourself.

very slowly variant

So… I followed your advice and bought the theme Flatsome, but the problem I had with the previous theme persists as you can see from the video https://www.loom.com/share/da3c80c8e4f64ed89bdff5fbbc5400c0

all plugins have been deactivated to verify that there were no conflicts, but unfortunately the problem remains … before I can select a variant I have to wait many seconds …

Shamser Suzon

Hello antonella codogno,

I have installed latest version of Flatsome theme in our test platform. Please, try to replicate your issue there? Our test platform login details are given below:

 

Admin URL: https://demo.getwooplugins.com/product-testing/wp-admin/

User: admin

Pass: d&IPJl2l7Y2v5HYWn*

Thanks

Shamser Suzon

Hello antonella codogno,

There was no price setup in the variations and that’s why it was behaving like that. It works fine now. You can proceed. You can test with any other product also.

Thanks

ok, and where is the problem with my site? is it probably because I have many variations? what do you think?

before you told me that it was a problem with the theme … and I bought what you told me … maybe you haven’t tested your plugin with many product variants?

Shamser Suzon

Hello antonella codogno,

The product which you have tested first, had a lotsof variations. It works smoothly. Please, go to the Edit Page of that product, you will see how many variations are there.

Please, share me a product URL, where you are facing such issue.

Thanks

Shamser Suzon

Hello antonella codogno,

Please, check now.

Thanks

yes, now is not slow but variants that are not unavailable are not removed because you have been deactivated:
 
 Disable ajax variation threshold to make all variation work like non ajax style.

So problem persist…

Hi, I understand where the problem is … if you want to solve it with the next update … On woocommerce  there is a cut off at pre-loading 30 variations… then If the product have more then 30 you need to use this code on fuctions.php

add_filter( ‘woocommerce_ajax_variation_threshold’, ‘wc_ninja_ajax_threshold’ );
function wc_ninja_ajax_threshold() {
return 3000;
}
I set 3000 but you can change the number… now I can select immediately the variant on product page