Always having to login during checkout even though already logged in.

Open to all! Ask other shopowners for help.
Post Reply
14Steve14
Senior Contributor
Posts: 920
Joined: Fri Oct 25, 2019 7:01 pm
Phoenix Version: v1.0.9.1
Has thanked: 17 times
Been thanked: 103 times

Always having to login during checkout even though already logged in.

Post by 14Steve14 »

This may be something I have done so thought I would check first that I have not missed anything is setting up my test store.

I login to my test website, add things into the basket and when clicking on the checkout button in the basket I am redirected to the login page. I do have the setting in admin- configuration - my store - checkout redirect set to Login, but is there seems to be no check whether the user is already logged in. I would have thought if I was logged in I would go to the first page of the checkout system.

If I change the admin setting to create account it obviously directs to the create account page even though I am already logged in.


Join The Code Co-op to get access to your library in the Code Co-op Forum
14Steve14
Senior Contributor
Posts: 920
Joined: Fri Oct 25, 2019 7:01 pm
Phoenix Version: v1.0.9.1
Has thanked: 17 times
Been thanked: 103 times

Re: Always having to login during checkout even though already logged in.

Post by 14Steve14 »

Got it. One error in the includes/configure.php file.
PiLLaO
Contributor
Posts: 107
Joined: Thu Nov 05, 2020 9:28 pm
Phoenix Version: v1.1.0.6
Has thanked: 53 times
Been thanked: 11 times

Re: Always having to login during checkout even though already logged in.

Post by PiLLaO »

Can you share the solution? maybe will be interesting for someone in future :)
14Steve14
Senior Contributor
Posts: 920
Joined: Fri Oct 25, 2019 7:01 pm
Phoenix Version: v1.0.9.1
Has thanked: 17 times
Been thanked: 103 times

Re: Always having to login during checkout even though already logged in.

Post by 14Steve14 »

We had two leading slashes after 'path' => ' instead of just 1 in includes/configure.php


Join The Code Co-op to get access to your library in the Code Co-op Forum
Post Reply