WCML_WC_Ajax_Cart

The WooCommerce Multilingual WCML WC Ajax Cart class.

Defined (1)

The class is defined in the following location(s).

/compatibility/class-wcml-wc-ajax-cart.php  
  1. class WCML_WC_Ajax_Cart{ 
  2.  
  3. function __construct() { 
  4. add_filter( 'wcml_calculate_totals_exception', array( $this, 'wac_update_ajax' ), 9 ); 
  5.  
  6. function wac_update_ajax( $exc ) { 
  7. if ( !empty($_POST['is_wac_ajax'])) { 
  8. return false; 
  9. return $exc; 
  10.