Closed (fixed)
Project:
Commerce Core
Version:
8.x-2.x-dev
Component:
User experience
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
19 Jan 2017 at 12:41 UTC
Updated:
6 Feb 2017 at 03:24 UTC
Jump to comment: Most recent
We have repeating manual code for manipulating a customer profile.
Let's move that to a form element to make it easy to reuse (billing profile pane, payment information pane, shipping).
Then let's create a matching field widget, for use on the order admin page.
This base can then be extended to support reusing profiles (Commerce Addressbook 3.x UX) in a followup.
Comments
Comment #2
bojanz commentedI'll work on this.
Note that the reason why this is in Commerce and not Profile is because we need special handling for limiting address countries based on the store.
It's easier to duplicate the form element in Profile without that logic, than to implement special events to get around this.
Followup: #2844920: Allow customer profiles to be reused.
Comment #4
bojanz commentedDone. Partially resolves #2822211: The allowed billing addresses are not reflected on the checkout widget. Requires the -dev release of Address, I'll tag a new Address release in time for the new Commerce beta.