woocommerce / woocommerce

A customizable, open-source ecommerce platform built on WordPress. Build any commerce solution you can imagine.
https://woocommerce.com
9.39k stars 10.76k forks source link

Woocommerce Checkout AJAX issue with BuddyPress Ajax #11364

Closed jessemarco closed 8 years ago

jessemarco commented 8 years ago

The only way how to fix is to disable ajax woocommerce checkout.

<?php
/**
 * Disable checkout script, because of conflict BuddyPress and Woocommerce Ajax conflict.
 */
function disable_checkout_script(){
    wp_dequeue_script( 'wc-checkout' );
}
add_action( 'wp_enqueue_scripts', 'disable_checkout_script' );
?>
claudiosanches commented 8 years ago

Tested and I did not see any problem.

jessemarco commented 8 years ago

If you are using this script, then it works fine, but without there is problem, install default theme, buddypress plugin and woocommerce, go to checkout and you have got a problem.