Answers for "woocommerce go to checkout after add to cart"

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

Browse Popular Code Answers by Language