Answers for "woocommerce after add to cart redirect"

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 after add to cart redirect"

Browse Popular Code Answers by Language