Created
January 23, 2018 21:38
-
-
Save shreyans94/7e8da767176feb1dda5966c8f0dcb79f to your computer and use it in GitHub Desktop.
WooCommerce Variations Ajax Fix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function iconic_wc_ajax_variation_threshold( $qty, $product ) { | |
return 50; | |
} | |
add_filter( 'woocommerce_ajax_variation_threshold', 'iconic_wc_ajax_variation_threshold', 10, 2 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment