Viewing 8 Topics - 16 through 23 (of 23 total)
Author | Posts |
---|---|
June 8, 2015 at 6:32 pm 46509 | |
After login it will redirect to the my account page by default. If you want to redirect seller to his dashboard after login then please insert those code in your child theme function.php file- [php] add_filter( ‘woocommerce_login_redirect’, ‘ckc_login_redirect’, 10, 2 ); function ckc_login_redirect( $redirect_url, $user ) { if( $user->roles[0] == ‘seller’ ) { return $redirect_url; [/php] | |
June 8, 2015 at 7:24 pm 51483 | |
This reply has been marked as private. | |
June 8, 2015 at 7:31 pm 51487 | |
This reply has been marked as private. | |
June 8, 2015 at 8:12 pm 51488 | |
This reply has been marked as private. | |
June 9, 2015 at 10:29 am 51508 | |
This reply has been marked as private. | |
June 9, 2015 at 4:24 pm 51582 | |
This reply has been marked as private. | |
June 9, 2015 at 5:11 pm 51591 | |
This reply has been marked as private. | |
June 9, 2015 at 8:17 pm 51618 | |
Thanks for all your help. |
Viewing 8 Topics - 16 through 23 (of 23 total)