tastyigniter / TastyIgniter

:fire: Powerful, yet easy to use, open-source online ordering, table reservation and management system for restaurants
https://tastyigniter.com
MIT License
3.03k stars 988 forks source link

[Bug]: System asks from already users to log in during checkout #851

Closed greatdesign closed 3 years ago

greatdesign commented 3 years ago

What happened?

STEP 1: Create a new customer at the backend as admin. Set customer status to Enabled. Set Allow Guest Orders option to disabled at the admin -> settings -> setup -> order tab. STEP 2: Login at the front end with your account and then add some menu items in the shopping cart. STEP 3: Click checkout button.

BOOOOM you will get the message:

Almost there, Please login or register to complete checkout.

System doesn't understand that you are already logged in and throws that message!

Checked on TI version 3.0.7

What did you expect to happen?

You should be able to order because you are logged in.

Version

Other (please detail)

What browser are you seeing the problem on?

Firefox, Chrome, Safari

Relevant log output

No response

ryanmitchell commented 3 years ago

Can you share screens of your customer and order config pages? I'm not able to replicate this.

greatdesign commented 3 years ago

Ryan first you must add a new user as admin at the back end. Then you must go to the admin->settings->order setup page

Screenshot 2021-08-29 at 17-47-46 Settings Setup - Administrator Panel - Epic Delivery

and you must set the Allow Guest Orders to disable.

Then if you try to login at the front end as this user you will not be able to order. You get message "Almost there, Please login or register to complete checkout."

ryanmitchell commented 3 years ago

@sampoyigi @BreakSecurity can either of you replicate this? Doesnt do this for me.

BreakSecurity commented 3 years ago

immagine

Confirmed

ryanmitchell commented 3 years ago

Can you test against latest GitHub code? Maybe that’s why I’m not seeing it.

greatdesign commented 3 years ago

i tested both develop branch and the 3.0.7 release zip file from releases

ryanmitchell commented 3 years ago

Should be resolved by this: https://github.com/tastyigniter/ti-ext-user/pull/9

sampoyigi commented 3 years ago

Fixed