[buddypress-trac] [BuddyPress Trac] #7172: Woocommerce checkout AJAX and Buddypress AJAX are in conflict

buddypress-trac noreply at wordpress.org
Tue Jul 5 19:04:56 UTC 2016


#7172: Woocommerce checkout AJAX and Buddypress AJAX are in conflict
--------------------------+---------------------------------------
 Reporter:  egyptimhotep  |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Core          |    Version:
 Severity:  normal        |   Keywords:  needs-testing needs-patch
--------------------------+---------------------------------------
 The only way how to fix is to disable ajax woocommerce checkout.

 {{{#!php
 <?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' );
 }}}

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7172>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list