Answers for "add continue shopping on woocommerce cart page"

1

woocommerce buy product skip cart

add_filter('add_to_cart_redirect', 'lw_add_to_cart_redirect');
function lw_add_to_cart_redirect() {
 global $woocommerce;
 $lw_redirect_checkout = $woocommerce->cart->get_checkout_url();
 return $lw_redirect_checkout;
}
Posted by: Guest on April-13-2021

Code answers related to "add continue shopping on woocommerce cart page"

Browse Popular Code Answers by Language