Actually one of my sofware developer friend find the naswer very easily and it’s worked for me:
Adding the code below to the last line of function.php in the theme folder
everything was solved.
It was very simple and very easy.
code for function.php:
—————————————
function custom_wc_ajax_variation_threshold( $qty, $product )
{
return 800;
}
add_filter( ‘woocommerce_ajax_variation_threshold’, ‘custom_wc_ajax_variation_threshold’, 10, 2 );
——————————————
now,
Other variations that are not available based on the selected variation do not appear automatically.
that’s what i want…
Thanks to everyone for their help
Dear @icaleb , do you have any idea?
BR
https://d.pr/free/i/A2y97c
unfortunatelly it’s not worked. 🙁