Answers for "woocommerce buy product skip cart"

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
0

skip cart page woocommerce

Skip Cart Page Go Straight to Checkout Page in WooCommerce
Posted by: Guest on July-24-2020

Code answers related to "woocommerce buy product skip cart"

Browse Popular Code Answers by Language