Purchase without Account

Profile Ghosted (unclickable) - Purchase without Account

Profile Ghosted (unclickable)

by plamastus » Wed Apr 07, 2021 2:21 pm

Hi,

Phoenix 1.0.8.0
PWA 4.3.6rl
Ran test on two different sites, same issue also different browsers.

I am having a problem where if you try to PWA and you are about to checkout, then you change your mind and do a "Secure Log Off" bottom. It shows current guest name, so I hit ">Continue" (big Red Button). Guest name disappears, "Profile" appears instead of name, but "Profile" no longer clickable.

I then go to bottom "Existing Customer Login" and I login as a real customer. Customer name shows where "Profile" was, but its un-clickable. I clicked on ">Continue," Where name is shown (where "Profile" used to be) goes un-ghosted and back to ghosted really quick, but still un-clickable...

Any ideas?

Thanks,

Patrick
patrick
plamastus
Member
Posts: 82
Joined: Fri Mar 12, 2021 2:09 am
Phoenix Version:
Contact:

Re: Profile Ghosted (unclickable)

by raiwa » Thu Apr 08, 2021 2:57 pm

Hi,

Thanks for this report, I wasn't aware of this.
The account navbar menu is disabled (ghosted) during guest checkout, just to avoid that guests use this menu. In a normal checkout process they shouldn't use the logoff option.
So if a guest loggs off, the guest session parameter is not unset and when he logs into a regular account the guest session parameter is still there and provokes that the account menu is still disabled (ghosted).
I wasn't aware that there is the other logout button in the footer module.
Even the scenario you describe is unlike to happen in a real store live, I'll address it in the next update.
I'll disable also the footer button and for any case, I will unset the guest session variable on logoff.

thanks again
Rainer
Public Phoenix Change Log Cheat Set on Google Sheets
https://docs.google.com/spreadsheets/d/ ... sp=sharing

Need Help?viewtopic.php?f=10&t=27
raiwa
Certified Developer
Posts: 1640
Joined: Sat Dec 21, 2019 8:08 am
Phoenix Version: 1.1.0.6
Contact:

Re: Profile Ghosted (unclickable)

by plamastus » Thu Apr 08, 2021 6:05 pm

Hi,

Awesome...It works with
unset($_SESSION['customer_is_guest']);

Thanks,

Patrick
patrick
plamastus
Member
Posts: 82
Joined: Fri Mar 12, 2021 2:09 am
Phoenix Version:
Contact: