Support » Plugin: WooCommerce Max Quantity » Support to WooCommerce Quick Buy

  • Hi,

    To add support to WooCommerce Quick Buy just add this to woocommerce-max-quantity.php in line 254. This just redirect to the checkout page in case that the cart get the maximum quantity allowed.

    if ( class_exists( 'WooCommerce_Quick_Buy' ) ) {
    					$checkout_url = $woocommerce->cart->get_checkout_url();
    					wp_redirect( esc_url_raw( $checkout_url ) );
  • The topic ‘Support to WooCommerce Quick Buy’ is closed to new replies.