Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Admin orders account information showing guest for customer name #11552

Closed
dbag1010101 opened this issue Oct 19, 2017 · 10 comments
Closed

Admin orders account information showing guest for customer name #11552

dbag1010101 opened this issue Oct 19, 2017 · 10 comments
Assignees
Labels
Issue: Clear Description Gate 2 Passed. Manual verification of the issue description passed Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed non-issue

Comments

@dbag1010101
Copy link

Using magento v2.2.0. Through the api, i'm creating a guest cart and proceed to add items to the cart. I then log in a user and add the customer id to the cart and use the carts/mine api to put the modified cart. After checkout, the order shows up on the admin panel with the account information showing guest and no email. When you click on guest, it directs you to the correct customer account with the name and email address there.

Preconditions

  1. php v7.0

Steps to reproduce

  1. Add items to guest cart. proceed to assign cart to a logged in customer
  2. Complete checkout process

Expected result

  1. I would assume that the order page should show the account information of the account which placed the order without having to click on guest link

Actual result

  1. Customer Name: guest
  2. Email: blank <- doesn't say blank. There is nothing there
@magento-engcom-team magento-engcom-team added Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed Issue: Clear Description Gate 2 Passed. Manual verification of the issue description passed labels Oct 19, 2017
@orlangur
Copy link
Contributor

Through the api, i'm creating a guest cart and proceed to add items to the cart. I then log in a user and add the customer id to the cart

Why do you need such flow?

@magento-engcom-team
Copy link
Contributor

@meeweed , thank you for your report.
We were not able to reproduce this issue by following the steps you provided. Please provide more detailed steps to reproduce.

@magento-engcom-team magento-engcom-team self-assigned this Oct 19, 2017
@magento-engcom-team magento-engcom-team added Progress: needs update Issue: Cannot Reproduce Cannot reproduce the issue on the latest `2.4-develop` branch labels Oct 19, 2017
@dbag1010101
Copy link
Author

Why do you need such flow?

Well, basically, the flow would be for users which are not logged in while shopping and then log in at the checkout stage. I can try adding the items from one cart to the other.

@dbag1010101
Copy link
Author

We were not able to reproduce this issue by following the steps you provided. Please provide more detailed steps to reproduce.

What information would be helpful.

  1. Basically. I create a guest cart. I then add items to that cart.
  2. User logs in and I append the customer id to the guest cart. logged in user now has guest cart assigned.
  3. logged in user proceeds to checkout and gets confirmation.
  4. Inside admin panel, the order shows account information as "Guest" as a hyper link and the other two columns are empty(ie. email has no value and Customer group isn't showing.

@dbag1010101
Copy link
Author

account_info

As you can see, the Customer name (in blue) is a link. This link takes you to the actual customer account

@orlangur
Copy link
Contributor

@meeweed, thanks for details

  1. User logs in and I append the customer id to the guest cart. logged in user now has guest cart assigned.

Basically, I'm not sure such flow is supposed to work but I'm not familiar with this API implementation details. Maybe you should create non-guest cart with a separate request.

@dbag1010101
Copy link
Author

Hello @orlangur

Basically, I'm not sure such flow is supposed to work but I'm not familiar with this API implementation details. Maybe you should create non-guest cart with a separate request.

thank you. I figured that doing that should be my next step.

@okorshenko okorshenko removed Progress: needs update Issue: Cannot Reproduce Cannot reproduce the issue on the latest `2.4-develop` branch labels Nov 4, 2017
@magento-engcom-team
Copy link
Contributor

@meeweed, thank you for your report.
We've created internal ticket(s) MAGETWO-83339 to track progress on the issue.

@magento-engcom-team magento-engcom-team added 2.2.x Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed Reproduced on 2.2.x The issue has been reproduced on latest 2.2 release Reproduced on 2.3.x The issue has been reproduced on latest 2.3 release labels Nov 6, 2017
@magento-engcom-team
Copy link
Contributor

The described flow is not valid. Please look at @orlangur suggestion. Closing as non-issue

@magento-engcom-team magento-engcom-team added non-issue and removed Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development Reproduced on 2.2.x The issue has been reproduced on latest 2.2 release Reproduced on 2.3.x The issue has been reproduced on latest 2.3 release labels Nov 21, 2017
@dbag1010101
Copy link
Author

I fixed it using the hack but honestly, this should work as I outlined. The hack @orlangur recommeded (and the one which I had already done) involves many queries for multiple items in an asynchronous environment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue: Clear Description Gate 2 Passed. Manual verification of the issue description passed Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed non-issue
Projects
None yet
Development

No branches or pull requests

5 participants