Store Admin actions Creates Guest Records in Customer Table

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
3 years ago
Hi Team,

I am using Nop 4.2 and found that a lot of guest customers are created when logged in as a store admin and doing any activity like checking log activity, pressing Orders tab, I check the code and found that the below condition runs even if the logged-in user is the store owner admin:

if (customer == null || customer.Deleted || !customer.Active || customer.RequireReLogin)
        {
          customer = this._customerService.InsertGuestCustomer();
        }
Is that behaviour normal?

Thanks in advance,
Mahran
3 years ago
How do you know it's because " store admin and doing any activity"?  Did you check the IP address of the Guest customer?
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.