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

[Order Creation]The order form treats all words except the last one as the customer's first name. #14510

Open
AnirudhBhat opened this issue Nov 26, 2024 · 4 comments
Labels
feature: order creation All tasks related to creating an order priority: low Not many people are affected or there’s a workaround, etc. type: bug A confirmed bug.

Comments

@AnirudhBhat
Copy link

Describe the bug
When creating a user with multiple last names, which is common in many countries, the order form treats all words except the last one as the customer's first name. As a result, when this user is loaded onto a new order, only the last word is displayed as the last name and the rest as first name. If you edit the user, only the last word is saved as the last name.

For additional information, reference this ticket: https://a8c.zendesk.com/agent/tickets/7895292 and Slack discussion.

To Reproduce
Steps to reproduce the behavior:

  1. Create a user with more than one last name.
  2. Load that user onto a new order.
  3. Only one of the last names appears and the rest are in first name.
  4. Edit the user.
  5. First name contains everything except last word.

Screenshots
Image
Image
Image

Expected behavior
When creating users with more than one last name and loading those users onto new orders, or editing them, all last names should accurately be saved and displayed.

@AnirudhBhat AnirudhBhat added feature: order creation All tasks related to creating an order priority: low Not many people are affected or there’s a workaround, etc. type: bug A confirmed bug. labels Nov 26, 2024
@dangermattic
Copy link
Collaborator

Thanks for reporting! 👍

@malinajirka
Copy link
Contributor

@AnirudhBhat If I recall correctly you worked on a fix for this on Android, right? If so, could you please link the solution in order to ensure the behavior is consistent across platforms?

@AnirudhBhat
Copy link
Author

@iamgabrielma
Copy link
Contributor

Only one of the last names appears and the rest are in first name.

This doesn't seem to be an issue on iOS at the moment (tested with 21.4.0.3)

Customer details Order details Billing details Customer details from web
Image Image Image Image

However, the customer search within the order doesn't seem to work as expected, as is not finding customers that have been entered through the app, only customers that have gone through the web checkout. These differ as well when you look into Menu > Customers. As you see here, a customer that has been added through the app can be found in the customer list, cannot be found in the order. However, a customer that has been added through checking out via web appears in both places 🤔

RPReplay_Final1737719440.MP4

I'll open this in CUW

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature: order creation All tasks related to creating an order priority: low Not many people are affected or there’s a workaround, etc. type: bug A confirmed bug.
Projects
None yet
Development

No branches or pull requests

4 participants