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] Prefill user's address when creating a new order for specific user #3537

Closed
spaghetticode opened this issue Mar 2, 2020 · 4 comments
Labels
changelog:solidus_backend Changes to the solidus_backend gem type:enhancement Proposed or newly added feature

Comments

@spaghetticode
Copy link
Member

Go to /admin/orders and click New Order. Click on the Customer tab, now you can choose from the autocomplete the user's email. This will populate the form address fields accordingly.

Now go to /admin/users and pick a user. You can now click the link Create order for this user. You will be redirected to a similar form as the one for the feature above, but this time in the Customer tab the email address in the form is prefilled, but the address is not.

I think in this case it would make sense to have the form already populated with the user's address, when available.

Schermata 2020-03-02 alle 15 16 59

@spaghetticode spaghetticode added the changelog:solidus_backend Changes to the solidus_backend gem label Mar 2, 2020
@kennyadsl kennyadsl added type:enhancement Proposed or newly added feature Good First Issue labels Mar 12, 2020
@jaimelr
Copy link
Contributor

jaimelr commented Mar 13, 2020

Hi! I'm going to work on this issue, I hope to have PR up with progress soon. 🙂

@jaimelr
Copy link
Contributor

jaimelr commented Mar 18, 2020

@spaghetticode Hi! I got a PR up for this, reviews are appreciated! #3558

@seand7565
Copy link
Contributor

Looks like #3558 solves this one! 🎉 If so, can we close this issue?

@jarednorman
Copy link
Member

Affirmative! This was resolved by #3558.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog:solidus_backend Changes to the solidus_backend gem type:enhancement Proposed or newly added feature
Projects
None yet
Development

No branches or pull requests

5 participants