Cart created from an 'order again' option in My Orders, the customer's email is not being placed as expected in the orderForm
ID: 947563
Backlog
Published on 12/4/2023
•
Last update on 12/4/2023
Summary
In the My Orders section within My Account, there is the option to set up a cart based on an order the customer previously placed.
In this case, the problem is that in a telesales flow, when impersonating the customer and trying to assemble a cart based on a previous order, when clicking on the My Orders (List) at the "Order again" option, the email of the telesales agent is placed in the order form client profile data and not the client one as expected.
It is worth mentioning that this behavior only happens when clicking on the "order again" button in the My Orders order list.
Simulation
- Login with a telesales user
- Impersonate a client
- Go to the My Orders section within My Account
- In the list of orders, click on "order again" on any of them.
- Validate the client information in the orderForm (clientProfileData.email)
Workaround
To place orders based on an old one, it is recommended to enter the order details first, and then click on the "order again" option.