Answers for "woocommerce js add product to cart and redirect to checkout"

0

woocommerce redirect to checkout after adding product

add_filter( 'woocommerce_add_to_cart_redirect', 'misha_skip_cart_redirect_checkout' );
 
function misha_skip_cart_redirect_checkout( $url ) {
    return wc_get_checkout_url();
}
Posted by: Guest on May-07-2020

Code answers related to "woocommerce js add product to cart and redirect to checkout"

Browse Popular Code Answers by Language