When customer something order> checkout the url going to wp-admin
-
I have a big issue with woocoomerce order,
When customer something order> checkout the url going to wp-admin
[[wp-login.php?redirect_to=https%3A%2F%2Fwww.mywebsite.com%2Fwp-admin%2F&reauth=1]]
Also, i did for checkout and redirect to other pages.add_action( 'woocommerce_thankyou', 'thankyou_redirectcustom'); function thankyou_redirectcustom( $order_id ){ $order = wc_get_order( $order_id ); $url = 'https://mywebsite.com/business-info/'; if ( ! $order->has_status( 'failed' ) ) { wp_safe_redirect( $url ); exit; } }
I am really so much upset, why the issue, and how can i fix the issue?
#developersThe page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘When customer something order> checkout the url going to wp-admin’ is closed to new replies.