It seems like the threshold is too low but I cannot find where to adjust this setting.
Any help is appreciated
]]>I’ve been having problems with this plug in, it’s not allowing me to change the threshold value of the maximum variations that can be hidden/crossed
I’ve already tried adding this code in the function.php file of the active theme.
add_filter( 'woo_variation_swatches_global_ajax_variation_threshold_max', 'woo_variation_swatches_global_ajax_variation_threshold_max_edit', 10, 2 );function woo_variation_swatches_global_ajax_variation_threshold_max_edit( $size, $product ){return 2000;
And also downgrading to the 2.0.1 version.
In both cases the code doesn’t seem to be working at all. Does anyone have the same issue or know how to fix it??
]]>Nice plug-in, very easy and simple to setup. No extra bloat.
But I’d love to see a setting for the reCatpcha threshold, I found where to change this in the plug-ins code but an option in the dashboard would be nice. Is this something that could be realized in a future update?
I noticed these other threads about it:
In the second one you mentioned that it would be added in the next update, but it’s a year later now and I don’t think this ever got added. (Correct me if I’m wrong!)
]]>I have a specific page template on my website that I want to use for daily automated testing of contact forms. My test script keeps failing because the form submissions are marked as spam by recaptcha due to low score (0.1). I have tried to lower the threshold just on that specific page template using the code below but the threshold is still set at 0.5 according to Flamingo logs.
add_filter( 'wpcf7_recaptcha_threshold',
function( $threshold ) {
if(is_page_template('pages/formtest.php')) {
$threshold = 0.01;
} else {
$threshold = 0.5;
}
return $threshold;
},
10, 1
);
It works when I set it globally but that obviously would render reCAPTCHA basically useless. Is there a way to do this?
]]>EDIT:
caused by overflow-x hidden
I’ve seen the function on the CF7 docs for reducing the threshold score for the reCaptcha v3 integration:
add_filter( 'wpcf7_recaptcha_threshold',
function( $threshold ) {
$threshold = 0.3; // decrease threshold to 0.3
return $threshold;
},
10, 1
);
But I was wondering — Is there a way to turn of reCaptcha entirely on a specific page/form (or reduce the threshold to 0 for this page only)?
We have a form page on a client site that they use internally several times a day, so this may have the potential to be flagged as spam submissions.
Thanks!
]]>We notice that the product with 5 variations only shows the 5 variations (so other variations cannot be chosen in the listbox).
But for the product with 120 variations it shows the 144 variations.
This sometimes leads to the message “Sorry, this product is not available. Pick another combination”.
Is it possible for product 2 to only have the 120 configured varations show up in the listbox?
]]>Just wanted to see if it’s possible to increase the threshold from 300px for images to be lazy loaded on WP Rocket plugin?
Thanks,
Richard
]]>