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

Document how to search by full name for customers on order #14

Open
mglaman opened this issue Dec 29, 2015 · 4 comments
Open

Document how to search by full name for customers on order #14

mglaman opened this issue Dec 29, 2015 · 4 comments

Comments

@mglaman
Copy link
Collaborator

mglaman commented Dec 29, 2015

  • We can assume that the user (full) name is usable as the billing profile name (default on the create form), but can't assume the opposite
  • Therefore we can't allow finding a user by billing profile in Commerce core, by default. That stays in contrib
  • However, there should be a solution that: 1) adds a name field to the user 2) alters the user display name 3) alters the autocomplete (search by name, username, email)

The https://www.drupal.org/project/name module is close and could be documented on implementing this.

@bojanz
Copy link
Contributor

bojanz commented Dec 29, 2015

To clarify: If I created a "Bojan Zivanovic" user, when I go to create a billing profile, it's very possible that the name will be the same.
However, I might have a billing profile with the name of my boss (company card) or my spouse (family card), so calling me by those names on the site would not be correct.

@joshmiller83
Copy link
Contributor

@mglaman - is this still a need? Can you go into more detail about what you want documented? Is this just a simple paragraph describing this use case and linking to the module or do you want a step-by-step that walks you through how to search by full name for customers? I'm happy to write up either.

@mglaman
Copy link
Collaborator Author

mglaman commented Jun 9, 2016

@joshmiller83 shoot. I think it was more so "Here's how to support your use case without needing a module."

@bojanz
Copy link
Contributor

bojanz commented Jun 9, 2016

We need to revisit realname (or equivalent) integration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants