woocommerce variation waiting problem
-
Hello. I have informed you about this issue before. I wanted to share a video with you. Please download the link? It makes a lot of waiting when I change variations on the product page. but variations in a plugin I purchased When I change it, the price is updated instantly. Is it possible to solve this problem on the product page. can you help me?
Video link: https://we.tl/t-maATBHfEmo
Hello,
Try to add the following PHP code snippet to the child theme functions.php file to do this
function wd_wc_ajax_variation_threshold( $qty, $product ) {
return 350;
}
add_filter( 'woocommerce_ajax_variation_threshold', 'wd_wc_ajax_variation_threshold', 10, 2 );
Regards
That’s it 🙂 problem is solved. thank you. ♥
You are welcome! If you have any questions please feel free to contact us.
Best Regards