Reply 191631 to: theme is blocking chekout redirect when using WooCommerce Direct Checkout

Avatar: jobo9967
jobo9967
Participant
April 20, 2018 at 16:15

this filter didn’t work either
I tried couple varsions of it
I tried different plugin
nothing worked
I will ask the developer of the plugin but this will take ages to get back from him
It’s free plugin

/**
* Add to cart redirect to checkout.
*
* @param string $url
* @return string
*/
function my_wc_add_to_cart_redirect_to_checkout( $url ) {
return wc_get_checkout_url();
}
add_filter( ‘woocommerce_add_to_cart_redirect’, ‘my_wc_add_to_cart_redirect_to_checkout’ );

Please, contact administrator
for this information.
Go To The Whole Conversation In Topic
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.