Override WooCommerce Frontend Javascript
I had the same problem except with add-to-cart.js. Simple solution is to DEQUEUE the woocommerce script and ENQUEUE your replacement. In my case I added the following to my functions.php: wp_dequeue_script(‘wc-add-to-cart’); wp_enqueue_script( ‘wc-add-to-cart’, get_bloginfo( ‘stylesheet_directory’ ). ‘/js/add-to-cart-multi.js’ , array( ‘jquery’ ), false, true ); You would want to DEQUEUE the ‘wc-add-to-cart-variation’ script. I don’t think … Read more