Answers for "redirect to checkout page woocommerce"

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 "redirect to checkout page woocommerce"

Browse Popular Code Answers by Language