This topic has 8 replies, 3 voices, and was last updated 6 years, 8 months ago ago by Rose Tyler
Actually it’s not allowing any plugin that does it to redirect.
I laso tried adding filters to functions.php with no luck
Wasted whole day creating staging site, disabling plugins etc
I changed the theme at the very end
And guess what?
It worked
:/
Hello,
Please, provide temporary Dashboard and FTP access to site where we’ll be able to check the problem. At this moment both sites that you provided use XStore, we can’t check.
Regards
Check the private content
Hello,
You have not provided FTP access. Please, add this info. Also, can you contact plugin author and ask if they use any WooCommerce hook to add the redirect. Let me know their reply.
Regards
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’ );
Hello,
We’ve disabled “Ajax add to cart” option https://prnt.sc/j8uso6 on the staging site. Please check the redirect now.
Regards
that works
thanks
You’re welcome!
Have a nice day.
Regards
You must be logged in to reply to this topic.Log in/Sign up