Hi All,
I have a store that requires users to be authenticated before they are able to buy a product.
So the flow should look like this:
-
Client clicks on the product they want to buy
-
Client is redirected to the login/register page
-
Client is redirected to the checkout
At the moment the above flow just works if the user has already an account and has to log in:
-
Client clicks on the product they want to buy
-
Client is redirected to the login (username and password)
-
Client is redirected to the checkout
But when the user tries to create a new account, the redirect does not work:
-
Client clicks on the product they want to buy
-
Client is redirected to the login
-
Client clicks Register new user
-
Client enters all the information required
-
Client is redirected to the homepage!
I have checked the code and noticed that on one page (the login) there is a hidden field called checkout_url, but even if I add this to the registration form the redirect does not work.