magento / magento2

Prior to making any Submission(s), you must sign an Adobe Contributor License Agreement, available here at: https://opensource.adobe.com/cla.html. All Submissions you make to Adobe Inc. and its affiliates, assigns and subsidiaries (collectively “Adobe”) are subject to the terms of the Adobe Contributor License Agreement.
http://www.magento.com
Open Software License 3.0
11.56k stars 9.32k forks source link

recent orders block in my account show only orders from current store #34692

Open taoufiqaitali opened 2 years ago

taoufiqaitali commented 2 years ago

Preconditions (*)

  1. All Magento versions
  2. community and commerce edition
  3. developer and production mode

Steps to reproduce (*)

  1. Admin - Stores - Configuration - Customer Configuration - enable customer account sharing - Global
  2. Login to front end - place order in website 1
  3. Login to website 2 using same customer and place order in website 2
  4. go to my account in website 2, you will see only order history from website 2 - Issue
  5. go to my orders in website 2, you will see orders from all websites - No issue

Expected result (*)

  1. show recent orders from website 2 and 1

Actual result (*)

  1. it show recent orders from current store only

issue in this line https://github.com/magento/magento2/blob/4abe8ffa8d9908e02168bba2970da3e4e0470f06/app/code/Magento/Sales/Block/Order/Recent.php#L93

Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.

m2-assistant[bot] commented 2 years ago

Hi @taoufiqaitali. Thank you for your report. To speed up processing of this issue, make sure that you provided the following information:

Make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, Add a comment to the issue:

@magento give me 2.4-develop instance - upcoming 2.4.x release

For more details, review the Magento Contributor Assistant documentation.

Add a comment to assign the issue: @magento I am working on this

To learn more about issue processing workflow, refer to the Code Contributions.


:clock10: You can find the schedule on the Magento Community Calendar page.

:telephone_receiver: The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, join the Community Contributions Triage session to discuss the appropriate ticket.

:movie_camera: You can find the recording of the previous Community Contributions Triage on the Magento Youtube Channel

:pencil2: Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel

taoufiqaitali commented 2 years ago

issue in this filter by store_id should be removed https://github.com/magento/magento2/blob/4abe8ffa8d9908e02168bba2970da3e4e0470f06/app/code/Magento/Sales/Block/Order/Recent.php#L93

m2-assistant[bot] commented 2 years ago

Hi @engcom-November. Thank you for working on this issue. In order to make sure that issue has enough information and ready for development, please read and check the following instruction: :point_down:

engcom-November commented 2 years ago

Verified the issue on Magento 2.4-develop branch but cannot able to reproduce the issue: Steps followed:

  1. Production mode is enabled
  2. Login to Magento Admin - Customer Configuration - Share Customer Accounts - Set to Global
  3. Multi Store setup - Login to website 1 - Place Order
  4. Login to Website 2 using same customer - Place Order
  5. Navigate to My Account - My Orders of both the websites No issue: Both the Orders are displayed in both the websites. @taoufiqaitali , Kindly recheck the issue on Magento 2.4-develop branch and provide missing steps if any if the issue is still reproducible. image image

Thank you.

taoufiqaitali commented 2 years ago

Verified the issue on Magento 2.4-develop branch but cannot able to reproduce the issue: Steps followed:

  1. Production mode is enabled
  2. Login to Magento Admin - Customer Configuration - Share Customer Accounts - Set to Global
  3. Multi Store setup - Login to website 1 - Place Order
  4. Login to Website 2 using same customer - Place Order
  5. Navigate to My Account - My Orders of both the websites No issue: Both the Orders are displayed in both the websites. @taoufiqaitali , Kindly recheck the issue on Magento 2.4-develop branch and provide missing steps if any if the issue is still reproducible. image image

Thank you.

please check recent orders block on my account page not My orders page my orders show all orders but my account not show all recent orders image

engcom-November commented 2 years ago

Thank you for the confirmation @taoufiqaitali Verified the issue again on Magento 2.4-develop branch and the issue is reproducible. image image

github-jira-sync-bot commented 2 years ago

:white_check_mark: Jira issue https://jira.corp.magento.com/browse/AC-1861 is successfully created for this GitHub issue.

m2-assistant[bot] commented 2 years ago

:white_check_mark: Confirmed by @engcom-November. Thank you for verifying the issue.
Issue Available: @engcom-November, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself.

engcom-Alfa commented 2 years ago

Hi @taoufiqaitali Thanks for your contribution! The issue has been forwarded to the PO for further confirmation. Will be processed accordingly. Thanks for your patience!

nisha-vaghela commented 2 years ago

@magento I am working on this

nisha-vaghela commented 2 years ago

@magento give me 2.4.3 instance

magento-deployment-service[bot] commented 2 years ago

Hi @nisha-vaghela. Thank you for your request. I'm working on Magento instance for you.

magento-deployment-service[bot] commented 2 years ago

Hi @nisha-vaghela, here is your Magento Instance: https://dbe21f6db92f56c9a4c98e53f61e1ef7.instances.magento-community.engineering Admin access: https://dbe21f6db92f56c9a4c98e53f61e1ef7.instances.magento-community.engineering/admin_4666 Login: 018be7bf Password: c49a18d39d6e

nisha-vaghela commented 2 years ago

Hello Admin access: https://dbe21f6db92f56c9a4c98e53f61e1ef7.instances.magento-community.engineering/admin_4666 Login: 018be7bf Password: c49a18d39d6e

Its showing the server returned a "404 Not Found".

nisha-vaghela commented 2 years ago

@magento give me 2.4.3 instance

magento-deployment-service[bot] commented 2 years ago

Hi @nisha-vaghela. Thank you for your request. I'm working on Magento instance for you.

magento-deployment-service[bot] commented 2 years ago

Hi @nisha-vaghela, here is your Magento Instance: https://dbe21f6db92f56c9a4c98e53f61e1ef7.instances.magento-community.engineering Admin access: https://dbe21f6db92f56c9a4c98e53f61e1ef7.instances.magento-community.engineering/admin_da6a Login: f782aec1 Password: c0709c6b1c1d

engcom-Bravo commented 2 months ago

@magento give me 2.4-develop instance

magento-deployment-service[bot] commented 2 months ago

Hi @engcom-Bravo. Thank you for your request. I'm working on Magento instance for you.

magento-deployment-service[bot] commented 2 months ago

Hi @engcom-Bravo, here is your Magento Instance: https://224f613701f39a3a5154db264e15b124.instances-prod.magento-community.engineering Admin access: https://224f613701f39a3a5154db264e15b124.instances-prod.magento-community.engineering/admin_a6b9 Login: a03c7ede Password: 4e6c25c309a2