LOGIN REDIRECT
-
I would like to redirect the woocommerce login form (register and login in my account page) to the checkout page. The user performs the login and after it is redirected to the checkout. I would like to do the same with the registration form. Both redirecting to chekout. However, if no product added to the basket, i want that forms (register and login) redirect to page my account normally.
I would also accomplish the same rule with the checkout button in mini-cart. By clicking the checkout button (in mini-cart) the user goes to the checkout page (if logged in) or goes to login or registration page (if not logged in).
My goal is to make the user go through the login page (if not logged in) and then go to the logged chekout.
I researched it, I found some changes in woocommerce-functions.php but nothing solve my problem.
Could anyone help me doing a big favor ?? !!
Sorry I’m English, I’m Brazilian.
The topic ‘LOGIN REDIRECT’ is closed to new replies.