fbpx
Want To Add Extra Images Per Product Variation For Free? Download Now

blur with cross not work

Hello,
I’m planning to buy the Pro version of your module, but first I decided to install a free version to see how it works.
I see that the invalid options are not crossed out as they should be.

https://www.test.cablecommerce.bg/produkt/silov-meden-kabel-svt/

Tanvirul Haque

Hi Alexander,

Thank you for reaching out to us. Please kindly do a plugin compatibility check by doing these steps to identify the error :

=> Deactivate all of your additional plugins except WooCommerce and WooCommerce Variation Swatches Plugin.

=> See if the problem persists. If the issue is resolved, you can tell which plugin might be the culprit of this error by activating your additional plugins one by one.

If the plugin conflict check doesn’t help, please record me reproducing your issue using a tool like this? https://www.useloom.com
It helps me to figure out the issue quickly and squash it immediately.

And don’t forget to add your site login details in the site login details area. I’ll check what’s happening there.

You can add new users by going to Users > Add New set the user and password for us, set the role to admin, and set the info here.

And add your site URL, login username, and password in the site login area. Follow this guideline: https://www.useloom.com/share/27c1f2ac633c4060b2da883d946107d7

Hope to hear from you soon!

Thank you

Hello,
Thanks for your reply.

I tried what you tell me to turn off all plugins, but it didn’t work.
I started reading and found information from others who have encountered the problem. This fixes the problem:

https://gist.github.com/jessepearson/ae21721f4d75ea8d2c72c138a3aa25d7

<? php // only copy this line if needed

/ **
* Function filters the threshold for the amount of variables to load in the front end.
*
* @see https://woocommerce.wordpress.com/2015/07/13/improving-the-variations-interface-in-2-4/
* @param int $ threshold Default of 30
* @return int 100 The new threshold.
* /
function lets_increase_the_variation_threshold ($ threshold) {

return 100;
}
add_filter (‘woocommerce_ajax_variation_threshold’, ‘lets_increase_the_variation_threshold’);

The strange thing is that before without adding such functions your module worked. I don’t know if after the update of woocommerce this appeared or due to something else that is not a plugin.

Is this solution correct and is it safe?

https://www.loom.com/share/7c278740e0434482ae5b3745527a6908?sharedAppSource=personal_library

Hello,
now I saw that for products with less than 30 variations your module works ok it crosses out the invalid options. It stops working for products with more than 30 variations and obviously something like that is the solution. Obviously woocommerce has a limit of 30 variations.

Tanvirul Haque

Hello Alexander Petkov,

Yes, you can set max 80 variations with our pro version also you can disable ajax threshold https://prnt.sc/10a63ez

Thanks